コード例 #1
0
        static void Main(string[] args)
        {
            result absek = new result();

            absek.name    = "absek";
            absek.roll_no = 14;
            absek.section = "A";
            absek.printbase();
            absek.printing();

            Console.WriteLine();
            Console.WriteLine();

            result asis = new result();

            asis.name    = "asis";
            asis.roll_no = 1;
            asis.section = "A";
            asis.printbase();
            asis.printing();

            Console.ReadKey();
        }