Test Outcome

  • There is no performance difference at all between C# properties and normal class fields
  • A local method field access is 3x faster than a class field access. Might be worth caching a class field in a mathod locally if tons of operations must be made on it

The Test

http://jacksondunstan.com/articles/2968

results matching ""

    No results matching ""