what is the real use of interface in c#,other than that
multiple inheritance is not possible
Answer Posted / kalaimani
The interface contains only declaration of methods, no implementation. Because the interface is can be inherited by class and struct.
| Is This Answer Correct ? | 21 Yes | 9 No |
Post New Answer View All Answers
How can we sort the elements of the array in descending order?
Is an array an object c#?
Can we overload the main method in c#?
What is Delegate and what is it used for ?
How do you declare an interface in c#?
What are assemblies?
What type of data type conversion happens when the compiler encounters the following code?
What is a di class?
Ho we can see assembly information?
Explain the Abstract class in c#.net
What is decimal in c#?
What is uint c#?
What is the difference between mobile application and desktop application?
if a method is marked as protected internal who can access it?
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?