What is Interface?
An interface is collection of methods, properties, indexers and events with only signatures. Means In interface Methods, properties, indexers and events do not have their definition. So an Interface allows you to define behavioral characteristics and apply those behaviours to Class that implements this Interface. Example
Why Interface is came in existence?
Interface is mainly used for two reasons
Suppose you have two interfaces with method with same name. How to implement both in same class?
What is the use of is and as operator with respect to Interface concept?
The is and as operators can be used to determine whether an interface is implemented by an object.