why u have used
public string Color
{
get { return color; }
set { color = value; }
}
please explain it properly .......thankyou..........
public string Color
{
get { return color; }
set { color = value; }
}
please explain it properly .......thankyou..........
Property is a safe way to expose the private variable of a class to the application(s).
© net-tutorials.com 2006 - 2010