Click here to Skip to main content
15,921,452 members
Home / Discussions / C#
   

C#

 
AnswerRe: Changing default format for DateTime.ToString() Pin
Joshua Quick22-Nov-05 11:39
Joshua Quick22-Nov-05 11:39 
GeneralRe: Changing default format for DateTime.ToString() Pin
Dan Neely22-Nov-05 11:49
Dan Neely22-Nov-05 11:49 
GeneralRe: Changing default format for DateTime.ToString() Pin
Joshua Quick22-Nov-05 12:19
Joshua Quick22-Nov-05 12:19 
GeneralRe: Changing default format for DateTime.ToString() Pin
Dan Neely23-Nov-05 2:28
Dan Neely23-Nov-05 2:28 
Questionstrings Pin
Sam 200622-Nov-05 10:34
Sam 200622-Nov-05 10:34 
AnswerRe: strings Pin
Christian Graus22-Nov-05 11:16
protectorChristian Graus22-Nov-05 11:16 
GeneralRe: strings Pin
Sam 200622-Nov-05 12:27
Sam 200622-Nov-05 12:27 
GeneralRe: strings Pin
Christian Graus22-Nov-05 12:39
protectorChristian Graus22-Nov-05 12:39 
What did you try ?

string s = "client #1 - 255.255.255.255:8000";
Match match = Regex.Match(s, @"client #(\d*)", RegexOptions.IgnoreCase);
MessageBox.Show(match.Groups[1].Value);

This shows '1' in a message box.

Christian Graus - Microsoft MVP - C++
GeneralRe: strings Pin
Sam 200622-Nov-05 12:45
Sam 200622-Nov-05 12:45 
QuestionBest way to go fullscreen? Pin
MKlucher22-Nov-05 9:12
MKlucher22-Nov-05 9:12 
AnswerRe: Best way to go fullscreen? Pin
Christian Graus22-Nov-05 11:17
protectorChristian Graus22-Nov-05 11:17 
AnswerRe: Best way to go fullscreen? Pin
Stanciu Vlad22-Nov-05 21:43
Stanciu Vlad22-Nov-05 21:43 
QuestionGeneric Collection class question Pin
smh122-Nov-05 7:11
smh122-Nov-05 7:11 
AnswerRe: Generic Collection class question Pin
Kevin McFarlane22-Nov-05 9:28
Kevin McFarlane22-Nov-05 9:28 
AnswerRe: Generic Collection class question Pin
Christian Graus22-Nov-05 11:48
protectorChristian Graus22-Nov-05 11:48 
GeneralRe: Generic Collection class question Pin
akyriako7822-Nov-05 12:30
akyriako7822-Nov-05 12:30 
GeneralRe: Generic Collection class question Pin
Christian Graus22-Nov-05 12:39
protectorChristian Graus22-Nov-05 12:39 
AnswerRe: Generic Collection class question Pin
smh123-Nov-05 8:58
smh123-Nov-05 8:58 
QuestionXmlValidatingReader problem with xs:date Pin
IsaacB22-Nov-05 6:51
IsaacB22-Nov-05 6:51 
QuestionDynamically Add Textboxes to datagrid Pin
tadhg8822-Nov-05 6:36
tadhg8822-Nov-05 6:36 
AnswerRe: Dynamically Add Textboxes to datagrid Pin
Stanciu Vlad22-Nov-05 9:08
Stanciu Vlad22-Nov-05 9:08 
QuestionProblem with Mutex in multithreading Application Pin
Alexandr Sergeevich Ilyin22-Nov-05 6:16
Alexandr Sergeevich Ilyin22-Nov-05 6:16 
AnswerRe: Problem with Mutex in multithreading Application Pin
whizzs22-Nov-05 8:57
whizzs22-Nov-05 8:57 
GeneralRe: Problem with Mutex in multithreading Application Pin
Alexandr Sergeevich Ilyin22-Nov-05 17:24
Alexandr Sergeevich Ilyin22-Nov-05 17:24 
GeneralRe: Problem with Mutex in multithreading Application Pin
S. Senthil Kumar22-Nov-05 19:34
S. Senthil Kumar22-Nov-05 19:34 

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.