Typically the main use of the question mark is for the conditional, x ? \"yes\" : \"no\".
x ? \"yes\" : \"no\"
But I have seen another use for it but can\'t find an explanat
practical usage:
public string someFunctionThatMayBeCalledWithNullAndReturnsString(int? value) { if (value == null) { return "bad value"; } return someFunctionThatHandlesIntAndReturnsString(value); }