Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SomeAcrh {
- private bool passBool = true;
- private int someInt = 10;
- public int GetSomeInt(){
- if(passBool){
- return this.someInt;
- }
- return 0;
- }
- public void ChangePrivateState(){
- this.passBool = !this.passBool;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement