syntax for writing private method in a interface
Answer Posted / vanitha
An interface cannot have private methods. All the member
declarations inside interface are implicitly public.
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
How do I simulate optional parameters to com calls?
What is the use of ienumerable in c#?
Is stringbuilder thread safe c#?
What is a value type in c#?
What do you mean by directing?
What is the difference between ref and out in c#?
Are attributes inherited c#?
How do you specify a custom attribute for the entire assembly?
Can we have two main methods in c#?
Are there constructors in c sharp?
What is _layout cshtml?
What will a loop recorder show?
What is the purpose of private constructor in c#?
What is hashtable in c# net with example?
Which class does the remote object has to inherit?