Answer Posted / mohit bhandari
An interface is a named set of method signatures.Interfaces
can also define events and properties because all of these
are just syntax shorthands that map to methods anyway.
In C#, interface keyword is used to define an interface,
giving it a name and its set of instance method signatures.
e.g.
public interface IDisposable {
void Dispose();
}
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the different ways a method can be overloaded?
What are the extension methods in c#?
What is a dimensional array?
Why is dll used?
What basic steps are needed to display a simple report in crystal?
What do you mean by a windows process in regards to memory allocation?
What is the signature of a method?
What is difference between list and dictionary in c#?
Explain the Usage of web.config
Is arraylist thread safe?
What is mean by c#?
Does the variables of a private class-level inherited?
Explain about Destructor method?
What is private variable?
What is task parallel library?