Nuacht
So, in the code example above, we explored how indexers can be used while inheriting types and how they can show polymorphic behavior. You can just as well define an indexer as abstract.
One of C#'s most interesting features is the class indexer. Simply put, an indexer is a special kind of property that allows you to reference your class like you would an array. Read on as this ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana