Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            string  n1  = Console.ReadLine();
            string  ID1 = Console.ReadLine();
            int     y1  = Convert.ToInt32(Console.ReadLine());
            Student s1  = new Student(n1, ID1, y1);

            s1.GetInfo();
            s1.Plus();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Student a = new Student("Kamila", "ID120");

            a.GetInfo();
        }