Click here to Skip to main content
15,512,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: Process not ending when application is closed. Pin
leppie28-Jan-08 22:50
leppie28-Jan-08 22:50 
Generaldirectory chooser dialog Pin
Ylno28-Jan-08 13:56
Ylno28-Jan-08 13:56 
GeneralRe: directory chooser dialog Pin
darkelv28-Jan-08 14:03
darkelv28-Jan-08 14:03 
GeneralRe: directory chooser dialog Pin
Ylno28-Jan-08 14:19
Ylno28-Jan-08 14:19 
Generalthis is a test Pin
Member 462175228-Jan-08 13:25
Member 462175228-Jan-08 13:25 
Generalsdfasdf Pin
Member 462175228-Jan-08 13:19
Member 462175228-Jan-08 13:19 
Questioncan you give me a reference to do it (write CD) ? Pin
B.A28-Jan-08 12:46
B.A28-Jan-08 12:46 
GeneralMethod overloading! Pin
Spykraft28-Jan-08 12:18
Spykraft28-Jan-08 12: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 13:32
Ed.Poore28-Jan-08 13:32 
GeneralRe: Method overloading! Pin
Spykraft28-Jan-08 14:47
Spykraft28-Jan-08 14:47 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 16:07
professionalPIEBALDconsult28-Jan-08 16:07 
GeneralRe: Method overloading! Pin
Ed.Poore28-Jan-08 22:49
Ed.Poore28-Jan-08 22:49 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 13:57
professionalPIEBALDconsult28-Jan-08 13:57 
Generalcrystal report formula Pin
shabonaa28-Jan-08 11:48
shabonaa28-Jan-08 11:48 
QuestionObjectStream Pin
BaraMustafa28-Jan-08 9:31
BaraMustafa28-Jan-08 9:31 
GeneralRe: ObjectStream Pin
led mike28-Jan-08 9:53
led mike28-Jan-08 9:53 
GeneralRe: ObjectStream Pin
Skippums28-Jan-08 9:56
Skippums28-Jan-08 9:56 
GeneralManaged COM, static constructors, and paths Pin
Dan Neely28-Jan-08 9:08
Dan Neely28-Jan-08 9:08 
GeneralRe: Managed COM, static constructors, and paths Pin
Skippums28-Jan-08 10:14
Skippums28-Jan-08 10:14 
GeneralRe: Managed COM, static constructors, and paths Pin
Dan Neely28-Jan-08 11:35
Dan Neely28-Jan-08 11:35 
GeneralMessage Closed Pin
28-Jan-08 9:00
Member 462175228-Jan-08 9:00 
GeneralRe: test Pin
Member 462175228-Jan-08 9:02
Member 462175228-Jan-08 9:02 
GeneralRe: test Pin
Ennis Ray Lynch, Jr.28-Jan-08 9:06
Ennis Ray Lynch, Jr.28-Jan-08 9:06 
GeneralRe: test Pin
Member 462175228-Jan-08 9:07
Member 462175228-Jan-08 9:07 
GeneralRe: test Pin
Member 462175228-Jan-08 9:24
Member 462175228-Jan-08 9: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.