Which works faster Null coalesce , Ternary or If Statement [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . We use ?? Operator to evaluate expressions against null values, for example: string foo = null; string bar = "woooo"; string foobar= foo ?? bar ; // Evaluates foobar as woooo We also used an if statement, which