The below sample:
using System;
public class Application
{
public static void Main()
{
uint value = 4;
value = value >> 32;
Console.WriteLine("value = {0}", value);
}
}
generates:
value = 4
--
Thanks,
Nick
nickno...@community.nospam
remove "nospam" change community. to msn.com
>> Operator (C# Reference)
If the first operand is an int or uint (32-bit quantity), the shift
count is given by the low-order five bits of the second operand (second
operand & 0x1f).
Steve