Indexer class in C#

added by jalpesh
3/20/2010 2:53:34 AM

1 Kicks, 69 Views

While taking interviews for Microsoft.NET i often ask about indexer classes in C#.NET and i found that most of people are unable to give answer that how we can create a indexer class in C#.NET. We know the array in C#.NET and each element in array can be accessed by index same way for indexer class a object was class can be accessed by index. Its very easy to create a indexer class in C#. First lets looks some points related to indexer class in C#.Indexer class object can be accessed by index only.We can...


0 comments