Click here to Skip to main content
15,920,576 members
Home / Discussions / C#
   

C#

 
GeneralRe: OT: About string.Empty Pin
Scott Dorman21-Jun-08 1:58
professionalScott Dorman21-Jun-08 1:58 
GeneralRe: switch statemeent. Am I missing someting Pin
PIEBALDconsult19-Jun-08 15:15
mvePIEBALDconsult19-Jun-08 15:15 
GeneralRe: switch statemeent. Am I missing someting Pin
Ed.Poore19-Jun-08 21:21
Ed.Poore19-Jun-08 21:21 
AnswerRe: switch statemeent. Am I missing someting Pin
Guffa21-Jun-08 6:35
Guffa21-Jun-08 6:35 
GeneralRe: switch statemeent. Am I missing someting Pin
TheFoZ19-Jun-08 22:13
TheFoZ19-Jun-08 22:13 
GeneralRe: switch statemeent. Am I missing someting Pin
Ed.Poore19-Jun-08 22:36
Ed.Poore19-Jun-08 22:36 
GeneralRe: switch statemeent. Am I missing someting Pin
Guffa19-Jun-08 14:15
Guffa19-Jun-08 14:15 
GeneralRe: switch statemeent. Am I missing someting Pin
Mark Churchill19-Jun-08 18:53
Mark Churchill19-Jun-08 18:53 
In C# you would use a bunch of if(c == foo) .... else if(30 < c && c < 100 && c == 10) ... etc.

Of course with your particular issue doing it character by character probably isnt the best solution. I'd avoid using a Regex for something so simple. The framework has a bunch of stuff here thats probably useful (and culture invariant), eg: "foo bar".ToUpper().Replace(" ","") or similar.

And who suggested LINQ? Just because LINQ is cool doesnt mean its appropriate to use it Wink | ;)


QuestionTele-type screen saver Pin
Elvis_Pretzelator19-Jun-08 9:32
Elvis_Pretzelator19-Jun-08 9:32 
AnswerRe: Tele-type screen saver Pin
Spacix One19-Jun-08 9:42
Spacix One19-Jun-08 9:42 
GeneralRe: Tele-type screen saver Pin
Elvis_Pretzelator19-Jun-08 9:47
Elvis_Pretzelator19-Jun-08 9:47 
GeneralRe: Tele-type screen saver Pin
Spacix One19-Jun-08 10:19
Spacix One19-Jun-08 10:19 
GeneralRe: Tele-type screen saver Pin
Elvis_Pretzelator25-Jun-08 10:02
Elvis_Pretzelator25-Jun-08 10:02 
GeneralRe: Tele-type screen saver Pin
Elvis_Pretzelator26-Jun-08 5:39
Elvis_Pretzelator26-Jun-08 5:39 
QuestionC# Thread termination issue Pin
Merlock219-Jun-08 8:39
Merlock219-Jun-08 8:39 
QuestionHelp: I'm new to C#: I want to make a global function Pin
TheFoZ19-Jun-08 8:27
TheFoZ19-Jun-08 8:27 
AnswerRe: Help: I'm new to C#: I want to make a global function Pin
Judah Gabriel Himango19-Jun-08 8:56
sponsorJudah Gabriel Himango19-Jun-08 8:56 
GeneralRe: Help: I'm new to C#: I want to make a global function Pin
TheFoZ19-Jun-08 9:03
TheFoZ19-Jun-08 9:03 
GeneralRe: Help: I'm new to C#: I want to make a global function Pin
Guffa19-Jun-08 11:20
Guffa19-Jun-08 11:20 
QuestionRadioButtonList Pin
john3419-Jun-08 7:59
john3419-Jun-08 7:59 
QuestionBuilding a System.Uri with a query string Pin
Spacix One19-Jun-08 7:40
Spacix One19-Jun-08 7:40 
AnswerRe: Building a System.Uri with a query string Pin
Judah Gabriel Himango19-Jun-08 8:24
sponsorJudah Gabriel Himango19-Jun-08 8:24 
GeneralRe: Building a System.Uri with a query string Pin
Spacix One19-Jun-08 9:06
Spacix One19-Jun-08 9:06 
GeneralRe: Building a System.Uri with a query string Pin
Judah Gabriel Himango19-Jun-08 11:05
sponsorJudah Gabriel Himango19-Jun-08 11:05 
GeneralRe: Building a System.Uri with a query string Pin
Spacix One19-Jun-08 13:00
Spacix One19-Jun-08 13:00 

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.