+ 1

How to achieve abstraction for a method..

.net framework contain so many methods properties classes implementation code is hidden..how to hide our code implementation like Microsoft

25th Mar 2018, 1:40 PM
Manjunath KG
Manjunath KG - avatar
2 Answers
+ 1
Don’t show all the variable, use getters and setters to access any variables, and only show the methods that need to be public. Try to keep as many things private or protected as you can. Make it easy to use. Basically, imagine that somebody who only know C# and has just seen your class. They know nothing about. Think how you can make it really easy to use for them.
25th Mar 2018, 1:44 PM
Ariela
Ariela - avatar
0
Create assembly -> use proper access modificators of properties, methods and classes and also use tips from Ariela .
1st Apr 2018, 6:33 PM
martin
martin - avatar