I happened to read this line of code:
public MyArray this [int index]{
get{
return array[index];
}
}
Where can I find the document on msdn about the syntax of using "this" in property?
And is there any book covers this kind of tricky syntax of C# other than the common stuff?
这是一个索引器 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.