Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private char testChar = 'a';
- public char getOrSetChar(char... c)
- {
- return c.length == 0 ? testChar : (testChar = c[0]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement