syntax for writing private method in a interface
Answer Posted / pankaj
we cnt write private methods in an interface.as we have to
inherit that method its by default on public scope
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
How Global.asax is used ?
Explain polymorphism in c# with a simple example?
List down the different ide’s provided by microsoft for c# development.
What are the properties of c#?
What are partial classes and use of partial classes?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
Can c# inherit multiple classes?
What is parameters in c#?
What is null propagation c#?
what is boxing and unboxing?can we initialize unboxing directly?
What are the 2 broad classifications of fields in c#?
what is difference between is and as operators in c#?
What is difference between c sharp and c#?
What are the different states of a thread?
Can a class have multiple constructors c#?