Is BitArray faster in C# for getting a bit value than a simple conjuction with bitwise shift?

@Jonathon Reinhart, your benchmark is unfortunately inconclusive. It does not take into account the effects of possible lazy-loading, caching and/or prefetching (by the CPU, the host OS and/or the .NET runtime). Shuffle the order of the tests (or call the test methods multiple times) and you might notice different time measurments. I did your original … Read more