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
This commit is contained in:
William S Fulton 2003-03-15 22:50:01 +00:00
commit 1196effefb

View file

@ -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);
}
}