How to reference an indexer member of a class in C# comments
问题 In order to reference a member of a class in XML comments/documentation, you have to use the following tag: <see cref="member"/> It is better explained here. How do you reference an indexer ? I mean, a member like this one: internal object this[ int index ] { ... } Thanks in advance. 回答1: <see cref="P:System.Collections.ArrayList.Item(System.Int32)" /> 回答2: <see cref="this[int]" /> 回答3: In general, in order to find out, how to reference any member in your comments, find the member in your XML