I used TryParse to parse a string to number. I need a solution to initialize out variable with default value, So when TryParse fails to convert I get my default value.
Here is the code :
long.TryParse(input.Code, out long Code = 123);
//Error CS1525  Invalid expression term '=' 
I want to strictly to use C#7 out variables standard.
 
     
    