+ 2
Why an indexer can be declared only by using 'this' keyword.....?
Without using 'this' keyword, can't we declare an indexer.....?
2 Respuestas
+ 1
That is the syntax in C#. As Oussama points out, the 'this' keyword refers to the object itself, the brackets denote the indexer. In other languages this works a bit different.
0
because it is related to the current instance