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

C#

 
QuestionInline If problem Pin
MarkB12329-May-09 1:09
MarkB12329-May-09 1:09 
AnswerRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:11
mvePete O'Hanlon29-May-09 1:11 
GeneralRe: Inline If problem Pin
MarkB12329-May-09 1:49
MarkB12329-May-09 1:49 
AnswerRe: Inline If problem Pin
stancrm29-May-09 1:13
stancrm29-May-09 1:13 
GeneralRe: Inline If problem Pin
OriginalGriff29-May-09 1:16
mveOriginalGriff29-May-09 1:16 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:37
mvePete O'Hanlon29-May-09 1:37 
GeneralRe: Inline If problem Pin
stancrm29-May-09 1:48
stancrm29-May-09 1:48 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:56
mvePete O'Hanlon29-May-09 1:56 
Indeed, but that's for a separate issue (i.e. it's quicker to check the length). The fuller check is to use string.IsNullOrEmpty to check because the value might be null or it might be empty, in which case value.Length would throw an ArgumentNullException.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Inline If problem Pin
OriginalGriff29-May-09 21:41
mveOriginalGriff29-May-09 21:41 
AnswerRe: Inline If problem Pin
harold aptroot29-May-09 1:26
harold aptroot29-May-09 1:26 
GeneralRe: Inline If problem Pin
MarkB12329-May-09 1:58
MarkB12329-May-09 1:58 
GeneralRe: Inline If problem Pin
harold aptroot29-May-09 2:07
harold aptroot29-May-09 2:07 
QuestionCrystal report datasource Pin
KIDYA29-May-09 0:57
KIDYA29-May-09 0:57 
AnswerRe: Crystal report datasource Pin
Nagy Vilmos29-May-09 1:19
professionalNagy Vilmos29-May-09 1:19 
GeneralRe: Crystal report datasource Pin
KIDYA29-May-09 1:24
KIDYA29-May-09 1:24 
GeneralRe: Crystal report datasource Pin
Nagy Vilmos29-May-09 1:40
professionalNagy Vilmos29-May-09 1:40 
QuestionRemove a special character from a file and save in same file. Pin
harishusharma29-May-09 0:53
harishusharma29-May-09 0:53 
AnswerRe: Remove a special character from a file and save in same file. Pin
stancrm29-May-09 1:10
stancrm29-May-09 1:10 
GeneralRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:14
professionalNagy Vilmos29-May-09 1:14 
GeneralRe: Remove a special character from a file and save in same file. Pin
harishusharma29-May-09 1:24
harishusharma29-May-09 1:24 
AnswerRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:12
professionalNagy Vilmos29-May-09 1:12 
GeneralRe: Remove a special character from a file and save in same file. Pin
harishusharma29-May-09 1:31
harishusharma29-May-09 1:31 
GeneralRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:43
professionalNagy Vilmos29-May-09 1:43 
AnswerRe: Remove a special character from a file and save in same file. Pin
Hoorfar29-May-09 22:15
Hoorfar29-May-09 22:15 
QuestionRe: Remove a special character from a file and save in same file. Pin
harishusharma9-Jul-09 6:22
harishusharma9-Jul-09 6:22 

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.