C# has a good system for Get and Set Methods
public class PropertyHolder
{
private int someProperty = 0;
public int SomeProperty
{
get
{
return someProperty;
}
set
{
someProperty = value;
}
}
}Using that system you can also just use the set/get bits of it to signify write or read only variables.