summaryrefslogtreecommitdiff
path: root/Examples/csharp
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2003-03-15 22:50:01 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2003-03-15 22:50:01 +0000
commit1196effefbb4ff630ccb2871c820d351b6be45b3 (patch)
treed6e461d37770f3ad7969bb89c97d04d9f651a799 /Examples/csharp
parent4abc8f3f5e22153647e019a6215b2e8c277eb630 (diff)
downloadswig-1196effefbb4ff630ccb2871c820d351b6be45b3.tar.gz
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
Diffstat (limited to 'Examples/csharp')
-rw-r--r--Examples/csharp/simple/runme.cs6
1 files 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);
}
}