Indexer error cases
https://ericlippert.com/2019/01/18/indexer-error-cases/ [ericlippert.com]
2019-01-18 21:09
in C# (and also in Java and many other languages), it is the assignment itself that triggers the exception, even when the exception is the result of an indexing operation.