this keyword as a property
Posted
by viky
on Stack Overflow
See other posts from Stack Overflow
or by viky
Published on 2010-03-25T16:29:53Z
Indexed on
2010/03/25
16:33 UTC
Read the original article
Hit count: 399
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?
© Stack Overflow or respective owner