Start C# here

Study C#.. Go ahead ! !

Monday, July 6, 2009

What is an Interface in C#?

An Interface is an abstract type which we use to Implement certain Rules to our class.
This will be certain contracts that we need to Implement into our C# class. Interface will not be having any definitions for the methods and properties it has. We just create the Prototype of methods and Properties we need to implement inside the class. Which all classes Inherit these Interfaces Must have the definitions for the Methods and Properties which we have Declared inside the Interface. We create an Interface using the interface keyword.

See an C# Interface EXAMPLE here....

No comments: