Tag: 关键字

‘this’关键字作为属性

我很了解C#,但这对我来说很奇怪。 在一些旧程序中,我看到了这段代码: public MyType this[string name] { ……some code that finally return instance of MyType } 怎么称呼? 有什么用?

什么时候必须在C#中使用extern alias关键字?

什么时候必须在C#中使用extern alias关键字?