Veeam Software Interview Question

How to safely expose a private array

Interview Answer

Anonymous

Aug 15, 2022

Provide an indexer for the class by overloading the indexer operator and implementing IEnumerator.