Set:The set { } implementation receives the implicit argument 'value', which is the value to which the property is assigned.
what it mean ??
Set:The set { } implementation receives the implicit argumen
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jul 23, 2013, 11:19 PM EDT
private int myInt;
public int MyInt
{
get { return myInt; }
set { myInt = value; }
}
Then the C# compiler changes it into this pair of methods:
public int get_MyInt()
{
return myInt;
}
public void set_MyInt(int value)
{
myInt = value;
}
So, it will be seen that the implicit variable 'value' is just the argument to the underlying method which is used to set the value of the property's 'backing' field.