public static void SetTestGlobal(IRIS irisNative) { // Write to a test global irisNative.Set(8888, "^testglobal", "1"); int globalValue = (int)irisNative.GetInt32("^testglobal", "1"); Console.WriteLine("The value of ^testglobal(1) is " + globalValue); }