Indexed properties are commonly used in C# because they allow a lot of syntactical flexibility, and make the code more readable, and easier to follow. Indexed properties are very similar to C/AL array indexing, except for two important differences:
•In C/AL, indexer is always 1-based. In C#, indexers are 0-based.
•In C/AL, indexer is always an integer. In C#, indexers can be any type.
Posted inDynamics NAV & BC Tips & tricks