+ 1
for private fields : you can define a public method inside your class that return your private field. or a method that get a parameter and set your private fields. for private methods : you can't call your private methods directally but you can use private methods inside your public methods. you can also use property for your private members in C#.
5th Jan 2017, 10:22 AM
Amir Goodarzi
Amir Goodarzi - avatar