Wednesday, November 4, 2015

C# Indexer not using the propertyItem

C# will use the property item when using indexers, but if you already have a property with that name you will have problem. To solve it use the attribute on your indexer with another name [IndexerName("MyItem")]

No comments: