Checked and Unchecked

Download c# eBook

Syntax

  • checked(a + b) // checked expression
  • unchecked(a + b) // unchecked expression
  • checked { c = a + b; c += 5; } // checked block
  • unchecked { c = a + b; c += 5; } // unchecked block

Related Examples

Stats

100 Contributors: 4
Tuesday, November 22, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook