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
What is final keyword in c#?
What is the difference between int.parse and int.tryparse methods?
Explain the difference between // comments, /* */ comments and /// comments?
How do you declare an interface in c#?
What is dapper in c#?
What is an object and a class?
What are controls in c#?
Why do we use 0?
What is a static property. Give an example?
What is difference between ilist and list in c#?
Explain about Oops concept
What are virtual destructors?
What is a dynamic assembly?
Why cannot you specify the accessibility modifier for methods inside the interface?
Can you declare a field readonly?