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

Can list contain duplicates c#?

483


Can hashtable have duplicate keys in c#?

470


What is concrete method in c#?

482


Why do we use classes?

491


How many digits is a 32 bit number?

468






How long does it take to learn c# for unity?

474


How can you use abstract class and interface?

532


What is the function of .IsDescendent()?

573


Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

16604


Does c# support #define for defining global constants?

595


How Do You Convert A Value-type To A Reference-type?

516


can you create a function in c# which can accept varying number of arguments

591


How to find methods of a assembly file (not using ILDASM)?

629


What is the difference between CreateObject() and GetObject()?

549


What are managed providers?

536