c# Programming Glossary: queryflag.byproduct
How can I know items is in the enum? http://stackoverflow.com/questions/3748516/how-can-i-know-items-is-in-the-enum 0x4 ByDate 0x8 QueryFlag flags QueryFlag.ByCustomer QueryFlag.ByProduct To add an QueryFlag of course we should use operator. flags.. a different way with Dan Tao's answer . I'm using flags ^ QueryFlag.ByProduct while he is using flags ~QueryFlag.ByProduct Obviously his answer.. using flags ^ QueryFlag.ByProduct while he is using flags ~QueryFlag.ByProduct Obviously his answer is correct and easy to understand. I thought..
|