Hi friends,
I want to know that what's the implicit name of the parameter that gets passed into the set method/property of a class?
Implicit name of the parameter in the property
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Jan 24, 2012, 6:11 AM EST
int myProperty;
public int MyProperty
{
get {return myProperty;}
set { myProperty = value;}
}
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 24, 2012, 6:58 AM EST
Value. The data type of the value parameter is defined by whatever data type the property is declared.
Thanks