8
See the following code:
string test = "";
int output = -1;
if (int.TryParse(test, out output))
{
Console.WriteLine("Parsed");
}
Console.WriteLine(output);
When TryParse() fails, shouldn't the block be skipped over, Console.WriteLine("Parsed") not called and the value of output be the same (-1)?
It's returning 0