Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Create get/set in c#

my class
---
private string codeAgent;
private string nameAgent;
private string address;
private string ......
does any body know, how to create get/set in c# 2005 like in java.
TY
[223 byte] By [MGunawan] at [2007-11-11 7:32:53]
# 1 Re: Create get/set in c#
http://msdn.microsoft.com/library/en-us/csref/html/vcwlksimplepropertiestutorial.asp
Phil Weber at 2007-11-11 21:48:58 >