Encapsulate field

if i write

void locked = false; (for example)

And accepet encapsulate this field
than i get this code

public void locked
{
get {
return locked;
}
set {
locked = value;
}
}


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

0

Please sign in to leave a comment.