Difference between indexer and property ?

1. An indexer is identified by it's signature. But a property is identified it's name.

2. An indexer is always an instance member, but a property can be static also.

3. An indexer is accessed through an element access. But a property is through a member access.

No comments:

Popular Posts