Shift Operators 2

image_pdfimage_print
   

/*
 * C# Programmers Pocket Consultant
 * Author: Gregory S. MacBeth
 * Email: gmacbeth@comporium.net
 * Create Date: June 27, 2003
 * Last Modified Date:
 */
using System;

namespace Client.Chapter_2___Operators_and_Excpressions
{
  public class ShiftOperators
  {
    static void Main(string[] args)
    {
      uint a = 0;
      uint b = 0;

      a = 8 << 3;
      b = 32 >> 4;
    }
  }
}