Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Performance : String and string !! Confusing, Pin
Paul Conrad28-Jan-08 14:06
professionalPaul Conrad28-Jan-08 14:06 
GeneralRe: Performance : String and string !! Confusing, Pin
Scott Dorman28-Jan-08 17:49
professionalScott Dorman28-Jan-08 17:49 
GeneralRe: Performance : String and string !! Confusing, Pin
Mohan Kumar28-Jan-08 20:26
Mohan Kumar28-Jan-08 20:26 
GeneralRe: Performance : String and string !! Confusing, Pin
Guffa28-Jan-08 20:47
Guffa28-Jan-08 20:47 
GeneralRe: Performance : String and string !! Confusing, Pin
leppie28-Jan-08 21:44
leppie28-Jan-08 21:44 
GeneralRe: Performance : String and string !! Confusing, Pin
Skippums29-Jan-08 7:49
Skippums29-Jan-08 7:49 
GeneralRe: Performance : String and string !! Confusing, Pin
PIEBALDconsult29-Jan-08 8:39
mvePIEBALDconsult29-Jan-08 8:39 
GeneralRe: Performance : String and string !! Confusing, Pin
Skippums29-Jan-08 8:47
Skippums29-Jan-08 8:47 
GeneralRe: Performance : String and string !! Confusing, Pin
PIEBALDconsult29-Jan-08 12:22
mvePIEBALDconsult29-Jan-08 12:22 
GeneralProcess not ending when application is closed. Pin
Ylno28-Jan-08 13:01
Ylno28-Jan-08 13:01 
GeneralRe: Process not ending when application is closed. Pin
PIEBALDconsult28-Jan-08 13:04
mvePIEBALDconsult28-Jan-08 13:04 
GeneralRe: Process not ending when application is closed. Pin
Not Active28-Jan-08 13:07
mentorNot Active28-Jan-08 13:07 
GeneralRe: Process not ending when application is closed. Pin
Ylno28-Jan-08 13:16
Ylno28-Jan-08 13:16 
GeneralRe: Process not ending when application is closed. Pin
Stephen Hewitt28-Jan-08 17:10
Stephen Hewitt28-Jan-08 17:10 
GeneralRe: Process not ending when application is closed. Pin
leppie28-Jan-08 21:50
leppie28-Jan-08 21:50 
Generaldirectory chooser dialog Pin
Ylno28-Jan-08 12:56
Ylno28-Jan-08 12:56 
GeneralRe: directory chooser dialog Pin
darkelv28-Jan-08 13:03
darkelv28-Jan-08 13:03 
GeneralRe: directory chooser dialog Pin
Ylno28-Jan-08 13:19
Ylno28-Jan-08 13:19 
Generalthis is a test Pin
Member 462175228-Jan-08 12:25
Member 462175228-Jan-08 12:25 
Generalsdfasdf Pin
Member 462175228-Jan-08 12:19
Member 462175228-Jan-08 12:19 
Questioncan you give me a reference to do it (write CD) ? Pin
B.A28-Jan-08 11:46
B.A28-Jan-08 11:46 
GeneralMethod overloading! Pin
Spykraft28-Jan-08 11:18
Spykraft28-Jan-08 11:18 
GeneralRe: Method overloading! Pin
Ed.Poore28-Jan-08 12:32
Ed.Poore28-Jan-08 12:32 
GeneralRe: Method overloading! Pin
Spykraft28-Jan-08 13:47
Spykraft28-Jan-08 13:47 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 15:07
mvePIEBALDconsult28-Jan-08 15:07 
Spykraft wrote:
compromising on the compile time overhead


I don't see what you're talking about unless you mean that if such a method were built in you wouldn't have to compile it. But even that's not a big deal as you could put the method in your own DLL and not have to copile it each time anyway.


At any rate, you should step back and decide what it is you have and what you want to do with it.
I say you have a string and want to know whether or not all the characters in it are digits, so doing somthing with char doesn't seem appropriate. I prefer a library of routines to perform on strings, an IsAllDigits method could be written that uses a Regular Expression. Others on here are better at Regular Expressions than I, but something as simple as "^\d+$" may suffice.


The command-line compiler for C# 3 is already available.

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.