c# - Passing void as out parameter -


this question has answer here:

is there way ignore out parameter? i.e.

bool myintisvalid = int.tryparse(stringvalue, void); 

or

bool myintisvalid = int.tryparse(stringvalue, out new int()); 

no, have pass variable, you're free ignore afterwards.


Comments

Popular posts from this blog

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

Why does PHP consider 0 to be equal to a string? -

formula - R: how to pass in a reference to the variable in glm or lm? -