Operators and Expressions : checked unchecked : Data Types C# Source Code


Custom Search

C# Source Code » Data Types » checked unchecked »

 

Operators and Expressions








    


using System;

public class CheckedandUncheckedExpressions
{
    public static void Main()
    {
        unchecked
        {
            byte a = 55;
            byte b = 210;
            byte c = (byte) (a + b);
        }
    }
}
           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Data Types
» checked unchecked