+ 1
I don't get this
( https://www.sololearn.com/Play/CSharp ) 3/3 I really don't get the last one why should i put "Return();" i don't get it, could someone please explain to me why we put "Return"? Fill in the blanks to declare a Person class, hide the age member, and make it accessible through the GetAge method. class Person { private int age; public int GetAge() { return age; } public void SetAge(int n) { age = n; } }
5 Respuestas
+ 2
Hmm please please the appropriate link of your doubt
+ 1
class, public, return
0
Oh sorry about that, ok done