Click here to Skip to main content
15,881,588 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
C#
22 Feb 2016   Updated: 22 Mar 2016   Rating: 4.69/5    Votes: 13   Popularity: 5.06
Licence: CPOL    Views: 51,138     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.
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).