I have a function
public Tuple<bool, string> check()
{
.
.
return new Tuple<bool, string>(true, null);
}
Now I want to call this check() function in my main code. Whats the right way to do? I was thinking to do the following. but it does not work.
Tuple<bool, string> chk = new Tuple<bool, string>(check());