How to: Know the Difference Between Passing a Struct and Passing a Class Reference to a Method (C#)
Full Name:
How to: Know the Difference Between Passing a Struct and Passing a Class Reference to a Method (C#)
Short Name:
How to: Know the Difference Between Passing a Struct and Passing a Class Reference to a Method (C#)
Type of Entity:
C#
Abstract:
This example shows that when a struct is passed to a method, a copy of the struct is passed, but when a class instance is passed, a reference is passed.
MSDN Source URL:
http://msdn2.microsoft.com/8b0bdca4.aspx