this keyword as a property
- by viky
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 it is called? What is the use of this?