Concept Flow - Passing value types to methods
Start with value variable
Call method with value
Method receives a copy
Modify copy inside method
Method ends, copy discarded
Original variable unchanged
End
When you pass a value type to a method, the method gets a copy. Changes inside the method do not affect the original variable.