TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
subhajit bhadury
NA
33
0
Bit Shifting Problem
Aug 29 2007 3:21 AM
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?
Reply
Answers (
3
)
How to convert word doc into a xml doc in C#.net
How to test if the user pressed the Enter Key?