.NET equivalent of Java's Integer.bitCount?
Neither the BitVector32
nor the BitArray
classes have such a method either so I believe that this method is indeed missing from the framework.
Personally, I think these classes aren’t really useful anyway since they miss many natural bit operations. I’m not sure what they are really intended for. As it is, their usefulness very limited.