Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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