Beispiel #1
0
        static void Main(string[] args)
        {
            copy obj = new copy("abdullah", 240);

            obj.objectt();
            copy obj1 = new copy(obj);

            obj.objectt();
            //w3 school
            //Console.WriteLine(Math.Round(2.6));
            //Console.WriteLine(Math.Sqrt(4));
            Console.ReadKey();
        }
Beispiel #2
0
 public copy(copy a) //copy constuctur
 {
     Name = a.Name;
     Roll = a.Roll;
 }