C#C
C#3y ago
Relevant

enum HasFlag

I would've thought this would return true, but it's false. How can I fix this logic to return true for any overlaps?

(Colors.Red | Colors.Orange).HasKey(Colors.Red | Colors.Purple)
Was this page helpful?