public static void Main()
Student student = new Student("Pesho");
Student student2 = new Student();
Student student3 = new Student("Gosho", 1, "IT");
Student student4 = new Student("Ivan", 2, "Medicine", "jndkbk@ln", "VTU", "0123456789");
Student student5 = new Student("Maria", "Engenier", "VTU");
student.PrintStudentInfo();
student2.PrintStudentInfo();
student3.PrintStudentInfo();
student4.PrintStudentInfo();
student5.PrintStudentInfo();
string fullName = "null";
public string speciality = null;
private string univecity = null;
public string email = null;
public string phoneNumber = null;
public Student(string fullName)
this.fullName = fullName;
public Student(string fullName, int course, string speciality)
this.fullName = fullName;
this.speciality = speciality;
public Student(string fullName, string speciality, string univercity)
this.fullName = fullName;
this.speciality = speciality;
this.univecity = univercity;
public Student(string fullName, int course, string speciality, string email, string univercity, string phoneNumber)
this.fullName = fullName;
this.speciality = speciality;
this.univecity = univercity;
this.phoneNumber = phoneNumber;
public void PrintStudentInfo()
Console.WriteLine("Name: {0}, course: {1}, speciality: {2}, email: {3}, univercity: {4}, phoneNumber: {5}", this.fullName, this.course, this.speciality, this.email, this.univecity, this.phoneNumber);