Created
February 19, 2013 17:55
-
-
Save abbas-oveissi/4988219 to your computer and use it in GitHub Desktop.
sample C# code for Value vs Reference Types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Point p1 = new Point(); // Point is a *struct* | |
Form f1 = new Form(); // Form is a *class* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment