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
What is ac callback?
What are strings in c#?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is thread life cycle in c#?
What is difference between .net and c#?
What is difference between hashtable and dictionary in c#?
What is the difference between out and ref in c#?
Which operator cannot be overloaded in c sharp?
Can a loop recorder detect a heart attack?
What is tuple in c#?
What is visual c# net?
What Happens In Memory When You Box And Unbox A Value-type?
Can a sealed class be used as a base class?
What are value types and reference types?
what is the syntax to inherit from a class in c#?