Example #1
0
 /*
  * Example of global function for ExampleClass.
  * Static functions work like a static variables as they work outside of object space.
  */
 public static void ExampleGlobalFunction(ExampleClass exampleObject)
 {
     exampleObject.SetExampleField("ExampleObject's state changed by ExampleClass's global function!");
 }