Beispiel #1
0
        private static void get2()
        {
            trainee tr1 = new trainee();

            tr1.getdata("christopher", "855077", "chittoor", 21);
            tr1.Show();
        }
Beispiel #2
0
        private static void get1()
        {
            trainee tr = new trainee();

            tr.getdata("vishnu", "855087", "chittoor", 21);
            tr.Show();
        }
Beispiel #3
0
        private static void get3()
        {
            trainee tr2 = new trainee();

            tr2.age = 12;
            Console.WriteLine(tr2.age);
        }