I have an application that requires manipulating nybbles and possibly even individual bits at a time. Is there a library in C# that can help me?
I have an application that requires manipulating nybbles and possibly even individual bits at
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
BitVector32to manipulate bits in a 32 bit integer andBitArrayto have an array of bits representing a set of boolean variables.Also, it’s pretty easy to write a couple functions to manipulate individual bits: