Exemple #1
0
 static void Main()
 {
     Console.WriteLine("Initial value of StaticDemo.Val is " + StaticDemo.Val);
     StaticDemo.Val = 8;
     Console.WriteLine("StaticDemo.Val is " + StaticDemo.Val);
     Console.WriteLine("StaticDemo.ValDiv2(): " + StaticDemo.ValDiv2());
 }