Ejemplo n.º 1
0
 private static void ParamTest()
 {
     var myClass = new MyClass();
     Console.WriteLine("{0:N0}", myClass.ParmTest(new int[] { 123, 754, 12, 31, 23, 123, 12, 23, 34, 646, 7, 5786, 8 }));
     Console.WriteLine("{0:N0}", myClass.ParmTest(123, 754, 12, 31, 23, 123, 12, 23, 34, 646, 7, 5786, 8));
 }
Ejemplo n.º 2
0
 private static void GetLargestNumberFromArray()
 {
     var myClass = new MyClass();
     Console.WriteLine(myClass.GetLargesNumber(new int[] { 123, 124, 235, 435, 6457, 23, 4234, 13 }));
 }