Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bit twiddling in C#
Message
From
15/02/2006 11:44:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/02/2006 11:03:50
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01096485
Message ID:
01096508
Views:
19
>I need to look at the first bit in a byte and determine if it's set. Any ideas on how to do this?

(mybyte & 1) != 0

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform