Click here to Skip to main content
15,897,090 members
Articles / Programming Languages / C#

Bit Field in C# using struct

Rate me:
Please Sign up or sign in to vote.
4.64/5 (26 votes)
10 May 2016CPOL5 min read 97.2K   1.3K   28  
Generic C# equivalent of the bit field struct in C

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Philippines Philippines
I have worked with mobile phone testing in manufacturing for 20 years.
Originally from Sweden, but moved to China in 2012.
At the moment I am on a sabbatical year in the Philippines.

Over the years I have used various programming languages such as Pascal, C, C++, C#, SQL, XML, XSLT.

Comments and Discussions