static void Main() { Student student = new Student("UPES", "Upstream", "Arul"); student.Getdept(); student.DisplayStuInfo(); GC.Collect(); Console.Read(); }
static void Main() { Student student = new Student("UPES", "Upstream", "Arul"); student.Getdept(); student.DisplayStuInfo(); GC.Collect(); Console.Read(); }