C# flags vs sample enums
This question already has an answer here:
The core difference between flags and classic enums is that enum holds only one value: A or B or C while flags are meant to hold sets of values: A or B or C or AB or AC or BC or ABC.
You may want to read about it here: MSDN
链接地址: http://www.djcxy.com/p/54444.html上一篇: 如何使用按位&(和)来实现这个?
下一篇: C#标志与示例枚举