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
Can list contain duplicates c#?
Can hashtable have duplicate keys in c#?
What is concrete method in c#?
Why do we use classes?
How many digits is a 32 bit number?
How long does it take to learn c# for unity?
How can you use abstract class and interface?
What is the function of .IsDescendent()?
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!!!
Does c# support #define for defining global constants?
How Do You Convert A Value-type To A Reference-type?
can you create a function in c# which can accept varying number of arguments
How to find methods of a assembly file (not using ILDASM)?
What is the difference between CreateObject() and GetObject()?
What are managed providers?