コード例 #1
0
        static void Main()
        {
            ReadonlyEg readonlyEg = new ReadonlyEg("ZAIN");
            ReadonlyEg r2         = new ReadonlyEg("KV");
            Constg     c          = new Constg();

            c.PerimeterofCircle(4);
            Console.ReadLine();
        }
        static void Main()
        {
            //can change readonly schoolname here
            ReadonlyEg readonlyEg = new ReadonlyEg("Varun school");
            ReadonlyEg r2         = new ReadonlyEg("KV");
            ConstantEg c          = new ConstantEg();

            c.Perimeterofcircle(4);
            Console.Read();
        }
コード例 #3
0
        static void Main()
        {
            ReadonlyEg readonlyEg = new ReadonlyEg("Zain");
            ReadonlyEg r2         = new ReadonlyEg("Kv");

            ConstEg c = new ConstEg();

            c.PerimeterofCircle(4);
            Console.Read();
        }