User Tools

Site Tools


notes:csharp:struct

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:struct [2020/06/15]
leszek
notes:csharp:struct [2020/06/15] (current)
leszek
Line 17: Line 17:
   * Copied when returned from methods or properties   * Copied when returned from methods or properties
   * Value types that implement interfaces require boxing which causes performance degradation   * Value types that implement interfaces require boxing which causes performance degradation
 +  * Always initialized to 0s
  
 Reference types (classes): Reference types (classes):
notes/csharp/struct.txt ยท Last modified: 2020/06/15 by leszek