ECMA-334: 12.3.3.29 ?? expressions

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
C# Language Specification
© 2006 ECMA International

12.3.3.29 ?? expressions

For an expression expr of the form

expr-first ?? expr-second
  • The definite assignment state of v before expr-first is the same as the definite assignment state of v before expr.
  • The definite assignment state of v before expr-second is the same as the definite assignment state after expr-first.
  • The definite assignment state of v after expr is the same as the definite assignment state after expr-first.

Today's Deals: Electronics

Personal tools