Click here to Skip to main content
16,006,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Looping on bitwise parameter? Pin
Lord Kixdemp16-Dec-06 17:42
Lord Kixdemp16-Dec-06 17:42 
GeneralRe: Looping on bitwise parameter? Pin
Luc Pattyn16-Dec-06 18:12
sitebuilderLuc Pattyn16-Dec-06 18:12 
GeneralRe: Looping on bitwise parameter? Pin
Nader Elshehabi17-Dec-06 4:03
Nader Elshehabi17-Dec-06 4:03 
AnswerRe: Looping on bitwise parameter? Pin
Guffa16-Dec-06 17:53
Guffa16-Dec-06 17:53 
GeneralRe: Looping on bitwise parameter? Pin
Lord Kixdemp16-Dec-06 18:12
Lord Kixdemp16-Dec-06 18:12 
GeneralRe: Looping on bitwise parameter? Pin
Robert Rohde16-Dec-06 20:42
Robert Rohde16-Dec-06 20:42 
GeneralRe: Looping on bitwise parameter? Pin
Guffa16-Dec-06 22:24
Guffa16-Dec-06 22:24 
GeneralRe: Looping on bitwise parameter? Pin
Scott Dorman17-Dec-06 11:07
professionalScott Dorman17-Dec-06 11:07 
The enum also should have the [Flags] attribute applied to it so the compiler knows that it is being used in this manner. It's not mandatory, but it does generate some different code for the ToString method and lets FxCop run some additional validations.

You also might want to consider specifying the values as a hex value rather than decimal. I have found that it helps me make sure that I'm not missing a value.


-----------------------------
In just two days, tomorrow will be yesterday.

GeneralRe: Looping on bitwise parameter? Pin
Nader Elshehabi17-Dec-06 3:42
Nader Elshehabi17-Dec-06 3:42 
GeneralRe: Looping on bitwise parameter? Pin
Lord Kixdemp17-Dec-06 6:55
Lord Kixdemp17-Dec-06 6:55 
GeneralRe: Looping on bitwise parameter? Pin
Nader Elshehabi17-Dec-06 7:59
Nader Elshehabi17-Dec-06 7:59 
GeneralRe: Looping on bitwise parameter? Pin
Guffa17-Dec-06 9:09
Guffa17-Dec-06 9:09 
QuestionHi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 13:24
babbelfisken16-Dec-06 13:24 
AnswerRe: Hi, problem drawing a component to a control Pin
Luc Pattyn16-Dec-06 13:57
sitebuilderLuc Pattyn16-Dec-06 13:57 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:20
babbelfisken16-Dec-06 23:20 
GeneralRe: Hi, problem drawing a component to a control Pin
babbelfisken16-Dec-06 23:39
babbelfisken16-Dec-06 23:39 
QuestionC# Design Pattern Suggestion needed... Pin
cmprogrock16-Dec-06 13:03
cmprogrock16-Dec-06 13:03 
QuestionHow to use the operators DIV and MOD Pin
CodeItWell16-Dec-06 9:51
CodeItWell16-Dec-06 9:51 
AnswerRe: How to use the operators DIV and MOD Pin
ejuanpp16-Dec-06 10:23
ejuanpp16-Dec-06 10:23 
AnswerRe: How to use the operators DIV and MOD Pin
Ravi Bhavnani16-Dec-06 11:31
professionalRavi Bhavnani16-Dec-06 11:31 
QuestionCorrect a date in a textBox Pin
CodeItWell16-Dec-06 8:40
CodeItWell16-Dec-06 8:40 
AnswerRe: Correct a date in a textBox Pin
Luc Pattyn16-Dec-06 9:15
sitebuilderLuc Pattyn16-Dec-06 9:15 
AnswerRe: Correct a date in a textBox Pin
Bassam Saoud16-Dec-06 11:13
Bassam Saoud16-Dec-06 11:13 
Questiondataset changes Pin
fmardani16-Dec-06 7:43
fmardani16-Dec-06 7:43 
QuestionObject creation at internal condition in constructor Pin
Tony Lambert16-Dec-06 7:23
Tony Lambert16-Dec-06 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.