Skip to content

Instantly share code, notes, and snippets.

@santanaguy
Created December 5, 2013 22:05
public class Foo
{
public object _test;
protected object Test
{
get
{
return _test;
}
public set //Compile time error. The setter is more accessible than the property itself.
{
_test = value;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment