Last active
July 31, 2018 21:05
-
-
Save dsibinski/d21ce0c0fe4fb65cec0739fa18980944 to your computer and use it in GitHub Desktop.
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
void Method1() | |
{ | |
Method2(12); | |
Console.WriteLine("Goodbye"); | |
} | |
void Method2(int testData) | |
{ | |
int multiplier = 2; | |
Console.WriteLine("Value is " + testData); | |
Method3(testData* multiplier); | |
} | |
void Method3(int data) | |
{ | |
Console.WriteLine("Double " + data); | |
} | |
// source: C. Farrell and N. Harrison - Under the Hood of .NET Memory Management |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment