Veeam Software interview question

How to safely expose a private array

Interview Answer

Anonymous

15 Aug 2022

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