diff --git a/Examples/csharp/simple/runme.cs b/Examples/csharp/simple/runme.cs index 468bfe7f6..26106c65f 100644 --- a/Examples/csharp/simple/runme.cs +++ b/Examples/csharp/simple/runme.cs @@ -14,12 +14,12 @@ public class runme // Manipulate the Foo global variable // Output its current value - Console.WriteLine("Foo = " + example.getFoo()); + Console.WriteLine("Foo = " + example.Foo); // Change its value - example.setFoo(3.1415926); + example.Foo = 3.1415926; // See if the change took effect - Console.WriteLine("Foo = " + example.getFoo()); + Console.WriteLine("Foo = " + example.Foo); } }