Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Console
- {
- private int Counter { get; set; }
- public void Print(string message)
- {
- CheckThatMessageIsCorrectForInterviewQuestion();
- Counter++;
- }
- public int GetCount()
- {
- return Counter;
- }
- }
Add Comment
Please, Sign In to add comment