|
|
Passing structs as value parameters | On this page we repeat the example from the previous page - but now on a struct instead of a class. |
There are no surprises when we pass struct values as value parameters |
The exact similar setup as on the previous page. |
|
There is a good fit between use of value types and call-by-value parameter passing |
Read more about struct values passed by value in the text book version of this material. |