Click here to Skip to main content
13,634,702 members

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

Tip/Trick: 1

RSS Feed
No articles have been posted.
No blogs have been submitted.

Average tips rating: 4.69

Posted: 22 Feb 2016   Updated: 22 Mar 2016   Views: 21,925   Rating: 4.69/5    Votes: 13   Popularity: 5.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
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.
No reference articles 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).

Advertise | Privacy | Cookies | Terms of Service
Web02-2016 | 2.8.180712.1 | Last Updated 23 Jul 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid