Skip to content

Instantly share code, notes, and snippets.

Created Nov 28, 2022
What would you like to do?
int initializeInMethod;
OutArgExample(out initializeInMethod);
Console.WriteLine(initializeInMethod); // value is now 44
void OutArgExample(out int number)
number = 44;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment