short packets=BitConverter.ToInt16(data,2);
This line of code, I am using in a application. packets value is coming = 256. Now I want to first right shift 256 using 256>>8 = 1 but in left shift (256<<8) suppose to come 0, but in C#.net it is coming 65536.
Im unable to find the solution. Can Any body help me?