July 2015
Intermediate to advanced
1300 pages
87h 27m
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:
'Creates a real copy of firstOrderDim thirdOrder As OrderthirdOrder = firstOrder
In the preceding code, thirdOrder is a full copy of firstOrder. You can easily check this by using the DataTips feature of the Visual Studio Debugger or adding the variable to a Watch window.
Read now
Unlock full access