Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: Good class to get file info from JPG ? Pin
Marcos Hernandez24-Jan-07 19:37
Marcos Hernandez24-Jan-07 19:37 
GeneralRe: Good class to get file info from JPG ? Pin
Luc Pattyn24-Jan-07 20:23
sitebuilderLuc Pattyn24-Jan-07 20:23 
Questionno white spaces in enum Pin
MVPenn23-Jan-07 6:32
MVPenn23-Jan-07 6:32 
AnswerRe: no white spaces in enum Pin
Dave Kreskowiak23-Jan-07 7:35
mveDave Kreskowiak23-Jan-07 7:35 
GeneralRe: no white spaces in enum Pin
MVPenn23-Jan-07 8:01
MVPenn23-Jan-07 8:01 
GeneralRe: no white spaces in enum Pin
Stefan Troschuetz23-Jan-07 8:26
Stefan Troschuetz23-Jan-07 8:26 
GeneralRe: no white spaces in enum Pin
Pete O'Hanlon23-Jan-07 9:10
mvePete O'Hanlon23-Jan-07 9:10 
GeneralRe: no white spaces in enum Pin
Wjousts23-Jan-07 9:11
Wjousts23-Jan-07 9:11 
MVPenn wrote:
public enum Diseases { Hepatitis A, Hepatitis B, ...}
public enum fonts {Arial Black, Arial Narrow, Arial, ...}


In the past I've done something like this:

public enum Diseases { Hepatitis_A, Hepatitis_B, ...}

And when you need to display the "friendly" values just use the String.Replace function to get rid of the underscores.
GeneralRe: no white spaces in enum Pin
Dave Kreskowiak23-Jan-07 12:34
mveDave Kreskowiak23-Jan-07 12:34 
AnswerRe: no white spaces in enum Pin
e-laj23-Jan-07 13:02
e-laj23-Jan-07 13:02 
QuestionRegular Expression for getting links on a web page Pin
Laxmi2723-Jan-07 4:58
Laxmi2723-Jan-07 4:58 
AnswerRe: Regular Expression for getting links on a web page Pin
ednrgc23-Jan-07 5:12
ednrgc23-Jan-07 5:12 
QuestionForms Pin
gigo2k623-Jan-07 4:43
gigo2k623-Jan-07 4:43 
AnswerRe: Forms Pin
bobsugar22223-Jan-07 4:53
bobsugar22223-Jan-07 4:53 
AnswerRe: Forms Pin
Not Active23-Jan-07 4:54
mentorNot Active23-Jan-07 4:54 
GeneralRe: Forms Pin
gigo2k623-Jan-07 6:10
gigo2k623-Jan-07 6:10 
GeneralRe: Forms Pin
Dave Kreskowiak23-Jan-07 6:16
mveDave Kreskowiak23-Jan-07 6:16 
QuestionHow to prevent DataGridView from repainting? Pin
jzb23-Jan-07 3:25
jzb23-Jan-07 3:25 
AnswerRe: How to prevent DataGridView from repainting? Pin
mark_w_23-Jan-07 3:51
mark_w_23-Jan-07 3:51 
AnswerRe: How to prevent DataGridView from repainting? Pin
jesarg23-Jan-07 9:30
jesarg23-Jan-07 9:30 
QuestionDataReader Query Pin
mark_w_23-Jan-07 2:35
mark_w_23-Jan-07 2:35 
AnswerRe: DataReader Query Pin
PIEBALDconsult23-Jan-07 2:42
mvePIEBALDconsult23-Jan-07 2:42 
GeneralRe: DataReader Query Pin
mark_w_23-Jan-07 3:50
mark_w_23-Jan-07 3:50 
QuestionDirectory structure for solution Pin
Syed Muhammad Kamran23-Jan-07 2:24
Syed Muhammad Kamran23-Jan-07 2:24 
AnswerRe: Directory structure for solution Pin
Not Active23-Jan-07 2:49
mentorNot Active23-Jan-07 2:49 

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.