This commit is contained in:
Marcello 2021-07-01 20:39:33 +02:00
commit 78aec8b7f9
36 changed files with 21 additions and 25 deletions

View file

@ -1305,7 +1305,7 @@ public static System.Collections.IEnumerable<int> IterateRange(int start = 0, in
## Structs (Custom Value Types) & Classes (Custom Reference Types)
![reference-vs-value](https://blog.penjee.com/wp-content/uploads/2015/02/pass-by-reference-vs-pass-by-value-animation.gif)
![reference-vs-value](../../.images/dotnet_pass-by-reference-vs-pass-by-value-animation.gif)
**Structure** types have _value semantics_. That is, a variable of a structure type contains an _instance_ of the type.