Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
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 
So how does one overload an API like char.IsDigit() with more params and much more functionality?!
Can we do that in C#?

Ideally char.IsDigit() can compare a char (could be a char at a given index in a string), to see if it is a digit.
However what i need to mutate it to be able to take in a whole string, and the number of chars in that string i want to check are digits?

Since there is no method available for strings for a one statement check, I could overload a method from the char class to do this job?

something like
if ( char.IsDigit( stringBuff, i, n))
{
}

bool char.IsDigit(string str, int i,int n)
{
//checks n chars starting from i in str if they are digits;
}

PS: Am struggling with the cyclomatic complexity in the methods!!

------------------------------------
Vision is the ability to see the invisible

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 
GeneralRe: Method overloading! Pin
Ed.Poore28-Jan-08 21:49
Ed.Poore28-Jan-08 21:49 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 12:57
mvePIEBALDconsult28-Jan-08 12:57 
Generalcrystal report formula Pin
shabonaa28-Jan-08 10:48
shabonaa28-Jan-08 10:48 
QuestionObjectStream Pin
BaraMustafa28-Jan-08 8:31
BaraMustafa28-Jan-08 8:31 
GeneralRe: ObjectStream Pin
led mike28-Jan-08 8:53
led mike28-Jan-08 8:53 
GeneralRe: ObjectStream Pin
Skippums28-Jan-08 8:56
Skippums28-Jan-08 8:56 
GeneralManaged COM, static constructors, and paths Pin
Dan Neely28-Jan-08 8:08
Dan Neely28-Jan-08 8:08 
GeneralRe: Managed COM, static constructors, and paths Pin
Skippums28-Jan-08 9:14
Skippums28-Jan-08 9:14 
GeneralRe: Managed COM, static constructors, and paths Pin
Dan Neely28-Jan-08 10:35
Dan Neely28-Jan-08 10:35 
GeneralMessage Closed Pin
28-Jan-08 8:00
Member 462175228-Jan-08 8:00 
GeneralRe: test Pin
Member 462175228-Jan-08 8:02
Member 462175228-Jan-08 8:02 
GeneralRe: test Pin
Ennis Ray Lynch, Jr.28-Jan-08 8:06
Ennis Ray Lynch, Jr.28-Jan-08 8:06 
GeneralRe: test Pin
Member 462175228-Jan-08 8:07
Member 462175228-Jan-08 8:07 
GeneralRe: test Pin
Member 462175228-Jan-08 8:24
Member 462175228-Jan-08 8:24 

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.