Beispiel #1
0
 public static void Main()
 {
     Incrementer obj1 = new Incrementer(10);
     Console.WriteLine(obj1.MultyIncrement());
     Incrementer obj2 = new Incrementer(5);
     Console.WriteLine(obj2.MultyIncrement());
 }
Beispiel #2
0
        public static void Main()
        {
            Incrementer obj1 = new Incrementer(10);

            Console.WriteLine(obj1.MultyIncrement());
            Incrementer obj2 = new Incrementer(5);

            Console.WriteLine(obj2.MultyIncrement());
        }