User Tools

Site Tools


notes:csharp:indexers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:csharp:indexers [2018/12/03]
leszek
notes:csharp:indexers [2018/12/03] (current)
leszek
Line 10: Line 10:
   * single-dimension indexers with numeric parameters can participate in data binding   * single-dimension indexers with numeric parameters can participate in data binding
  
-Keep in mind that when the JIT compiler inline property accessors, the performance of data members and properties is the same.+Keep in mind that
 +  * '​get'​ accessors should not have observable side effects 
 +  * when the JIT compiler inline property accessors, the performance of data members and properties is the same
  
 Example: Implement an indexer: Example: Implement an indexer:
notes/csharp/indexers.txt · Last modified: 2018/12/03 by leszek