syntax for writing private method in a interface
Answer Posted / sudhir kunnure
we create interface for inherite to classes, and Private
methods can only access within class not inherited class.so
you cannot create Private methods in Interface.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How many parameters can a method have c#?
What is the difference between string and string in c#?
What does return do in unity?
Can the nested class access, the containing class. Give an example?
What is the use of readkey in c#?
What are the advantages of using c#?
What is dynamic dispatch?
Is and as in c#?
What are the string functions in c#?
What is data bind in c#?
Can you access a hidden base class method in the derived class?
What are the value types in c#?
What does using do in c#?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What does dbml mean in texting?