Click here to Skip to main content
15,887,361 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interfaces and Casting - I'm struggling. Pin
stovesy25-Jun-08 5:54
stovesy25-Jun-08 5:54 
AnswerRe: Interfaces and Casting - I'm struggling. Pin
Mark Churchill25-Jun-08 15:35
Mark Churchill25-Jun-08 15:35 
GeneralRe: Interfaces and Casting - I'm struggling. Pin
stovesy25-Jun-08 22:07
stovesy25-Jun-08 22:07 
Questionfilesystemwatcher Pin
arkiboys24-Jun-08 23:39
arkiboys24-Jun-08 23:39 
AnswerRe: filesystemwatcher Pin
leppie25-Jun-08 2:17
leppie25-Jun-08 2:17 
AnswerRe: filesystemwatcher Pin
Michael Bookatz25-Jun-08 2:42
Michael Bookatz25-Jun-08 2:42 
QuestionRegex.Split with a pipe | as separator Pin
GDavy24-Jun-08 23:38
GDavy24-Jun-08 23:38 
AnswerRe: Regex.Split with a pipe | as separator Pin
Guffa25-Jun-08 0:09
Guffa25-Jun-08 0:09 
You have to encode the characters in the expression twice. First you have to encode the pipe to put it in the regular expression, then you have to encode the regular expression to put it in a literal string in the code.

Use \\| in a regular literal string, or \| in an @ delimited string.

Example:

string pattern = "\\|";

or

string pattern = @"\|";

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Regex.Split with a pipe | as separator Pin
GDavy25-Jun-08 0:19
GDavy25-Jun-08 0:19 
Questioncannot implicitly convert type 'int' to 'string' Pin
twistz24-Jun-08 23:34
twistz24-Jun-08 23:34 
AnswerRe: cannot implicitly convert type 'int' to 'string' Pin
Christian Graus24-Jun-08 23:46
protectorChristian Graus24-Jun-08 23:46 
GeneralRe: cannot implicitly convert type 'int' to 'string' Pin
leppie25-Jun-08 2:14
leppie25-Jun-08 2:14 
GeneralRe: cannot implicitly convert type 'int' to 'string' Pin
Christian Graus25-Jun-08 12:05
protectorChristian Graus25-Jun-08 12:05 
AnswerRe: cannot implicitly convert type 'int' to 'string' Pin
Harvey Saayman24-Jun-08 23:47
Harvey Saayman24-Jun-08 23:47 
AnswerRe: cannot implicitly convert type 'int' to 'string' Pin
SteveNY25-Jun-08 3:59
SteveNY25-Jun-08 3:59 
Questionhowto: Image right-click context menu upload Pin
Sazarella24-Jun-08 23:24
Sazarella24-Jun-08 23:24 
AnswerRe: howto: Image right-click context menu upload Pin
Christian Graus24-Jun-08 23:34
protectorChristian Graus24-Jun-08 23:34 
GeneralRe: howto: Image right-click context menu upload Pin
Sazarella24-Jun-08 23:45
Sazarella24-Jun-08 23:45 
GeneralRe: howto: Image right-click context menu upload Pin
Christian Graus24-Jun-08 23:49
protectorChristian Graus24-Jun-08 23:49 
GeneralRe: howto: Image right-click context menu upload Pin
Sazarella24-Jun-08 23:58
Sazarella24-Jun-08 23:58 
GeneralRe: howto: Image right-click context menu upload Pin
Christian Graus25-Jun-08 0:06
protectorChristian Graus25-Jun-08 0:06 
GeneralRe: howto: Image right-click context menu upload Pin
Simon P Stevens25-Jun-08 0:20
Simon P Stevens25-Jun-08 0:20 
GeneralRe: howto: Image right-click context menu upload Pin
Sazarella25-Jun-08 3:33
Sazarella25-Jun-08 3:33 
GeneralRe: howto: Image right-click context menu upload Pin
Simon P Stevens25-Jun-08 10:18
Simon P Stevens25-Jun-08 10:18 
AnswerRe: howto: Image right-click context menu upload Pin
Ashfield25-Jun-08 0:39
Ashfield25-Jun-08 0:39 

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.