I know C# well, but it is something strange for me. In some old program, I have seen this code:
public MyType this[string name]
{
......some code that finally return instance of MyType
}
How is it called? What is the use of this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…