The formal parameters of the C# indexer become the parameters of the corresponding UML operation and the type of the indexer becomes the return type of the UML operation.
C# 索引器的形式参数成为相应的 UML 操作的参数,而索引器的类型成为 UML 操作的返回类型。
This indexer will have two parameters of type int, and it will return a Point type.
该索引器将有两个int类型的参数,并且它将返回Point类型。
应用推荐