Click here to Skip to main content
15,112,252 members

Articles by Sascha Lefèvre (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.69

Programming Languages
Posted: 22 Feb 2016   Updated: 22 Mar 2016   Views: 38,978   Rating: 4.69/5    Votes: 13   Popularity: 5.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
C# doesn't allow for binary literals (e.g. int bits = 0b00010101). With the helper class presented here, you can do something like that, as close as possible.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Sascha Lefèvre
Software Developer
Germany Germany
1985: "Hello world" on a Colour Genie
1989: Basic Balls of Mud on an Amiga 500
1994: C++ Big Balls of Mud on a PC
2005: C# Smaller Balls of Mud

Avatar image © dpa (licensed).