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
Is dictionary a collection?
What is overriding in c#?
How do you create partial methods?
Define method overloading in c#?
What does exclamation mark mean in access query?
What is ilasm.exe used for?
What is the lock statement in c#?
What is lazy loading entity framework?
Does c# support multiple inheritance (mi)?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
what is IComparable
Is string mutable in c#?
What is the difference between c and c sharp?
What is string method in c#?
What are extension methods and where can we use them?