From 1196effefbb4ff630ccb2871c820d351b6be45b3 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 15 Mar 2003 22:50:01 +0000 Subject: [PATCH] Uses properties instead of get/set methods git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4541 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/csharp/simple/runme.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }