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


Please Help Members By Posting Answers For Below Questions

How Global.asax is used ?

615


Explain polymorphism in c# with a simple example?

518


List down the different ide’s provided by microsoft for c# development.

477


What are the properties of c#?

492


What are partial classes and use of partial classes?

530






What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?

605


Can c# inherit multiple classes?

516


What is parameters in c#?

505


What is null propagation c#?

509


what is boxing and unboxing?can we initialize unboxing directly?

508


What are the 2 broad classifications of fields in c#?

540


what is difference between is and as operators in c#?

540


What is difference between c sharp and c#?

473


What are the different states of a thread?

534


Can a class have multiple constructors c#?

500