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); }
//copy constructor public shere(shere dew) { x = dew.X; }