Answer Posted / dhanunjaya
An interface is the contract between the class and itself.
an interface can contain abstract memberrs only.
And more over an interface can contain abstract
functions,abstractv properties,abstract events,abstract
indexers,but not contain
variables,functions,constructors,destructors.it provides
the rules that can followed by all the derived classes......
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which string method is used for concatenation of two strings in c#?
List the difference between interface and abstract class?
What is a method signature in c#?
What is the role of the datareader class in ado.net connections?
What is the data encapsulation?
What the different phase/steps of acquiring a proxy object in webservice?
What is bit in c#?
What are indexers in c# .net?
Why objects are stored in heap in c#?
What are interfaces in c#?
Is there a way of specifying which block or loop to break out of when working with nested loops?
What is the purpose of the integer parse method the decimal parse method?
What are the 3 different types of arrays?
What do you mean by the delegate in c#?
What are extensions methods in c#?