Indexer in an interface
In this chapter you will learn:
interface with indexer
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;
}
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » Class