Bit Processing in C#

As a .NET programmer, how do you check if a bit is set within a byte? How do you set, unset or toggle a bit? How do you get the binary string representation of a byte? Well for most of those questions, the answer is to use the same bit-twiddling methods that C/C++ programmers are… Read More: Bit Processing in C# »

Proper Etiquette for using MySQL in C# (Part of 1 of 3) – IDisposable

Many tutorials describing how to access MySQL databases in C# are typically missing a major point of emphasis or two. Stack Overflow alone is filled with questions where the author violates best practices in their code snippet. In this three part series, I would like to go over some major points of etiquette when using… Read More: Proper Etiquette for using MySQL in C# (Part of 1… »