syntax for writing private method in a interface

Answer Posted / sudhir kunnure

we create interface for inherite to classes, and Private
methods can only access within class not inherited class.so
you cannot create Private methods in Interface.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is type checking in c#?

518


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

541


What is meant by enumerable in c#?

498


Is string immutable in c#?

581


Can a constructor be private in c#?

486






How do you declare a method in c#?

498


How do namespaces work?

528


what is the Difference between the public and private ?

521


How do you declare an arraylist?

500


What tool we have to use to install assembli in gac folder.

490


Can a class have static constructor?

554


What are the Types of compatabilities and explain them

524


What are the types of access modifiers?

456


Is int an object in c#?

520


What are PE(Portable Executable)?

544