using System.Collections.Generic;
using System.Threading.Tasks;
namespace ModuleFourAssessment
public void SetInfoStudent(string NameStudent, string BirthdayStudent)
this.birthday = BirthdayStudent;
public void SetInfoTeacher(string NameProf, string CourseProf)
this.profname = NameProf;
this.profcourse = CourseProf;
public string profcourse;
public struct ProgramStruct
public void SetInfoProgram(string InfoProg)
this.programname = InfoProg;
public string programname;
public void SetInfoCourse(string CourseName, int CreditsTotal)
this.coursename = CourseName;
this.credits = CreditsTotal;
public string coursename;
public static void Main(string[] args)
Student[] arrayofstudents = new Student[5];
arrayofstudents[0].SetInfoStudent("Fred", "April 15");
Console.WriteLine("Student's name: " + arrayofstudents[0].name);
Console.WriteLine("Student's birthday: " + arrayofstudents[0].birthday);