problem in Introduction to C# classes

Reply Forum
Forum postravi @ 2009-08-20 08:11:57
ReplyReply to
why u have used
public string Color
{
get { return color; }
set { color = value; }
}
please explain it properly .......thankyou..........


Forum postIceFire @ 2010-07-27 15:13:31
ReplyReply to
Property is a safe way to expose the private variable of a class to the application(s).












© net-tutorials.com 2006 - 2010