Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/OutVariables.cs
Created Oct 25, 2017

What would you like to do?
// Out variables
// Old way
int parsedOld;
string parseMeOld = "222224";
int.TryParse(parseMeOld, out parsedOld);
// New way
string parseMe = "3115";
int.TryParse(parseMe, out int parsed);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.