Click here to Skip to main content
15,890,995 members
Home / Discussions / C#
   

C#

 
GeneralRe: How would you write this in Linq? Pin
Marc Clifton12-Sep-08 5:35
mvaMarc Clifton12-Sep-08 5:35 
GeneralRe: How would you write this in Linq? Pin
leppie12-Sep-08 5:50
leppie12-Sep-08 5:50 
GeneralRe: How would you write this in Linq? [modified] Pin
Eslam Afifi12-Sep-08 6:12
Eslam Afifi12-Sep-08 6:12 
GeneralRe: How would you write this in Linq? Pin
leppie12-Sep-08 5:08
leppie12-Sep-08 5:08 
GeneralRe: How would you write this in Linq? Pin
led mike12-Sep-08 5:25
led mike12-Sep-08 5:25 
GeneralRe: How would you write this in Linq? Pin
leppie12-Sep-08 5:38
leppie12-Sep-08 5:38 
QuestionRe: How would you write this in Linq? Pin
led mike12-Sep-08 5:50
led mike12-Sep-08 5:50 
AnswerRe: How would you write this in Linq? Pin
leppie12-Sep-08 6:09
leppie12-Sep-08 6:09 
led mike wrote:
So then where does some sort of performance gain come into effect in the current example? I mean how are the expression trees etc., going to faster than code like:


It's not. It could be equal or slower. But it's easier to write failure.Any(c => !(char.IsWhiteSpace(c) || char.IsDigit(c))) Smile | :)

I am willing to bet, that code would run close to your snippet.

xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)

GeneralRe: How would you write this in Linq? Pin
led mike12-Sep-08 6:44
led mike12-Sep-08 6:44 
GeneralRe: How would you write this in Linq? Pin
leppie12-Sep-08 4:58
leppie12-Sep-08 4:58 
GeneralRe: How would you write this in Linq? Pin
Pete O'Hanlon12-Sep-08 5:08
mvePete O'Hanlon12-Sep-08 5:08 
AnswerRe: How would you write this in Linq? Pin
Pete O'Hanlon12-Sep-08 5:07
mvePete O'Hanlon12-Sep-08 5:07 
QuestionStreamWriter and seek Pin
captjack12-Sep-08 4:31
captjack12-Sep-08 4:31 
AnswerRe: StreamWriter and seek Pin
Alan N12-Sep-08 5:41
Alan N12-Sep-08 5:41 
GeneralRe: StreamWriter and seek Pin
captjack12-Sep-08 6:00
captjack12-Sep-08 6:00 
AnswerRe: StreamWriter and seek Pin
Guffa12-Sep-08 7:03
Guffa12-Sep-08 7:03 
QuestionNumber of query values and destination fields are not the same. Pin
Vimalsoft(Pty) Ltd12-Sep-08 4:29
professionalVimalsoft(Pty) Ltd12-Sep-08 4:29 
AnswerRe: Number of query values and destination fields are not the same. Pin
mark_w_12-Sep-08 4:35
mark_w_12-Sep-08 4:35 
GeneralA question back to you :p Pin
mark_w_12-Sep-08 4:48
mark_w_12-Sep-08 4:48 
GeneralRe: A question back to you :p Pin
The Cake of Deceit12-Sep-08 5:58
The Cake of Deceit12-Sep-08 5:58 
GeneralRe: A question back to you :p Pin
Vimalsoft(Pty) Ltd12-Sep-08 9:46
professionalVimalsoft(Pty) Ltd12-Sep-08 9:46 
GeneralRe: A question back to you :p Pin
Vimalsoft(Pty) Ltd12-Sep-08 9:49
professionalVimalsoft(Pty) Ltd12-Sep-08 9:49 
GeneralRe: Number of query values and destination fields are not the same. Pin
Vimalsoft(Pty) Ltd12-Sep-08 9:44
professionalVimalsoft(Pty) Ltd12-Sep-08 9:44 
AnswerRe: Number of query values and destination fields are not the same. Pin
Ashfield12-Sep-08 4:35
Ashfield12-Sep-08 4:35 
AnswerRe: Number of query values and destination fields are not the same. Pin
Langa Shabangu12-Sep-08 8:40
Langa Shabangu12-Sep-08 8:40 

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.