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
Define an escape sequence, name few strings in escape sequence?
In which format you can pass the value in the sleep function?
Is c# the same as d flat?
What is the .NET collection class that allows an element to be accessed using a unique key?
Can we inherit partial class in c#?
What is c# and why it is used for?
Does main have to be static c#?
Which is better interface or abstract class in c#?
Why are strings immutable in c#?
What are the various components in crystal reports?
Which one is trusted and which one is untrusted?
What is type safe in c#?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
Is c# easier than javascript?
What are the concepts of dispose method?