Mega Code Archive

 
Categories / C# Tutorial / Class
 

Interface Properties

Here is the general form of a property specification: // interface property type name {     get;     set; } An interface can specify an indexer. An indexer declared in an interface has this general form: // interface indexer     element-type this[int index] {         get;         set;     }