9 public void Increment ()
12 Console.WriteLine ("Instance method invoked: Value incremented, making it " + counter);
15 public void AddNumber (int num)
18 Console.WriteLine ("Instance method with an argument invoked: " + num + " added to value, making it " + counter);
27 public static void StaticMethod ()
29 Console.WriteLine ("Static method invoked");
37 Console.WriteLine ("Class constructor invoked: Value initialised, making it " + counter);
40 public void Increment ()
43 Console.WriteLine ("Instance method invoked: Value incremented, making it " + counter);
46 public void AddNumber (int num)
49 Console.WriteLine ("Instance method with an argument invoked: " + num + " added to value, making it " + counter);
55 set { title = value; }
58 public void Echo (string arg1string)
60 Console.WriteLine ("string: " + arg1string);
63 public void Method4 (string arg1string, int arg2int)
65 Console.WriteLine (arg1string + arg2int.ToString ());
68 public void GTypeGTypeGType ()
70 Console.WriteLine ("c# method with an unusual name invoked");