
We learned about Indexers and the different types of usages. we explored creation of Generic classes using T and implementing indexer, ctor, methods, properties, ToString using type T. we saw how to make foreach available for our class using IEnumerable<T>

More topics covered:
-
- Indexer methods – returning different types
- T constrains – interface implementations, default ctor()
- Making types out of Class<T>
- IEnumerbale – implementation using List.GetEnumerator()
Links: