syntax for writing private method in a interface
Answer Posted / anna
we can't have private methods in in interface.
by default all are public
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Is equal in c#?
Can You Prevent Your Class From Being Inherited By Another Class?
Why do we use delegates?
Can we inherit a class with private constructor in c#?
What is data annotation in c#?
Does a loop recorder have to be removed?
What is the difference between Static, Const and read only?
What is difference between the "throw" and "throw ex" in .net?
Explain circular reference in c#?
What is a partial class in c#?
What are the boolean data types in c#?
What is the use of generics in c#?
Can you have an array of arrays?
Define delegate?
Is it possible to have different access modifiers on the get/set methods of a property?