Ejemplo n.º 1
0
        public static void Mains()
        {
            shere ds = new shere(3);

            ds.Display();
            //// ds.x = 20;
            // Console.WriteLine("Field dog is " + dog.x);
            //// dog.X = 25;
            // Console.WriteLine("Properties dog is " + dog.X);
            // Console.WriteLine("New Field dog is " + dog.x);
            // Console.ReadLine();


            var courseManager = new DataManager <Students, Course <int> >();
            var course        = new Course <int>();
            var gu            = new Students();

            courseManager.SaveRecord(new Students(), course);
        }
Ejemplo n.º 2
0
 //copy constructor
 public shere(shere dew)
 {
     x = dew.X;
 }