private bool duplicate;
public bool duplicateNumber
{
get
{
return duplicate;
}
set
{
duplicate = value;
}
}
What does this snippet mean?
How to use it? I am new on c# and know java only.
the variable value
doesn't need to be declared seems...
Why don't just make a getter or setter for a private variable?