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
What is the difference between select and selectmany?
What is .cshtml file?
What is a multicast c# delegate?
What is parsing?
What is the difference between paramaterized constructor and copy constructor?
Why hashtable is thread safe in c#?
How do I trim a space in c#?
what is the scope of anonymous type ?
Name some properties of thread class.
How many constructor can a class have?
What is a hash table in c#?
What is entity framework c#?
What is string in c# net?
Explain the functionalities of satellite assembly?
What is a protected class c#?