Notice, in the preceding example, that the private fields (name and age) can only be accessed through the public methods of the Kid class. For example, you cannot print the kid's name, from the Main method, using a statement like this:
Console.Write(kid1.name); // Error
Accessing private members of Kid from Main would only be possible if Main were a member of the class.
Types declared inside a class without an Access Modifier default to private, so the data members in this example would still be private if the keyword were removed.
Finally, notice that for the object created using the default constructor (kid3), the age field was initialized to zero by default.