What does the ">>=" operator mean in C#?

Right shift assignment operator:

num >>= 1 is the same as num = num >> 1

http://msdn.microsoft.com/en-US/library/23as4533(v=vs.80).aspx

Browse More Popular Posts

Leave a Comment