I\'m trying to understand concept \"class\" and write some easy program. But my function Check() is not correct. Please follow me to the right side..
namespa
You're calling Check as if it was static method. It is instance method so it should called p1.Check().
Check
p1.Check()