May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Because structures are value types, assigning an instance of a structure to a variable declared as of that type creates a full copy of the data. The following brief code demonstrates this:
![]()
In the preceding code, thirdOrder is a full copy of firstOrder. You can easily check this by using the data tips feature of the Visual Studio Debugger or adding the variable to a Watch window.
Read now
Unlock full access