Exemplo n.º 1
0
        static void Main()
        {
            Student student = new Student();

            student.GetDept();
            student.DisplayStuInfo();
            Console.Read();
        }
Exemplo n.º 2
0
        static void Main()
        {
            Student student = new Student("MIT", "Mech", "Jamuna");

            student.GetDept();
            student.DisplayStuInfo();
            GC.Collect();
            Console.Read();
        }
Exemplo n.º 3
0
        static void Main()
        {
            Student student = new Student("UPES", "Upstream", "Arul");

            student.Getdept();
            student.DisplayStuInfo();
            GC.Collect();
            Console.Read();
        }