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
What Happens In Memory When You Box And Unbox A Value-type?
What is c# in asp net?
Why dictionary is used in c#?
if you do have a stack overflow profile.what is your ranking?
What is the difference between add and addrange in c#?
What is namespace give the example?
What are the commonly used i/o classes?
What is the default scope of a class in c#?
How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?
What does question mark mean in c#?
Is system a class in c#?
what is the difference between a struct and a class in c#?
What is strong data type in c#?
What is global namespace in c#?
What is boxing in c#?