Solution for lots of flags - C#