what is difference between indexers and properties?
Ask by Anonymous User
Updated 23 Sep 2020
Difference between indexers and properties
Properties allow methods to be called as though they were public data members. It accessed through a simple name. It can be a static or an instance member.
Indexers allow methods on an object to be called as though the object is an array. It access through an index. It must be an instance member.