If you have a [Flags]
enum instance called typeToAdjust
, and you want to see if it's equal to clientType, is there any point doing this?
(clientType & (int)typeToAdjust) == (int)typeToAdjust
Doesn't this do the same?:
clientType == (int)typeToAdjust