If I have a constructor with an array like:
public Courses(string courseName, string courseCode, string passingGrade, string numOfCredits, string[] prerequisites)
The array prerequisites is supposed to take whatever prerequisite that a course has, which may be more than one, if I create an object in my main class, how do I add multiple values to it?
Courses courses = new Courses(Computer Science, CS50, C+, 3, this is the array prerequisites, how could I add multiple strings here? )