static void Main() { Student student = new Student("JNTUK", "PE", "Tyni"); student.GetcollegeDetails(); student.GetDepartmentDetails(); student.GetstudentDetails(); GC.Collect(); Console.Read(); }