Click here to Skip to main content
14,452,581 members


GeneralRe: Deployment WinForm, SqlExpress, DB Pin
franz.pilgerstorfer23-Jul-08 22:27
Memberfranz.pilgerstorfer23-Jul-08 22:27 
QuestionAttaching database Pin
hadad22-Jul-08 22:21
Memberhadad22-Jul-08 22:21 
AnswerRe: Attaching database Pin
franz.pilgerstorfer22-Jul-08 23:52
Memberfranz.pilgerstorfer22-Jul-08 23:52 
GeneralRe: Attaching database Pin
hadad22-Jul-08 23:59
Memberhadad22-Jul-08 23:59 
AnswerRe: Attaching database Pin
mark_w_23-Jul-08 0:05
Membermark_w_23-Jul-08 0:05 
QuestionSMTP server capacity Pin
hadad22-Jul-08 22:15
Memberhadad22-Jul-08 22:15 
AnswerRe: SMTP server capacity Pin
eburud22-Jul-08 23:30
Membereburud22-Jul-08 23:30 
QuestionLINQ query performance Pin
Jacek Gajek22-Jul-08 22:00
MemberJacek Gajek22-Jul-08 22:00 
Is the query below performance-wise? If not, please tell how to optimize it.
return elements.SkipWhile(el => !startCondition)
	.TakeWhile(el => !stop2condition)
	.Reverse().TakeWhile(el => !stop1condition).Reverse();

The goal is to get a range marked as a ===== line:

I have to find [start -> stop2] enumerator, and then cut the end. I cannot find stop1 directly, because between start and stop1 there are other elements which satisfy a stop1 condition. Other words, I need to get the last element which statisfies a condition stop1 before stop2. Hope it's clear what I meant here.
Any help appreciated.

Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

AnswerRe: LINQ query performance Pin
leppie23-Jul-08 0:54
Memberleppie23-Jul-08 0:54 
GeneralRe: LINQ query performance Pin
Jacek Gajek23-Jul-08 1:01
MemberJacek Gajek23-Jul-08 1:01 
QuestionRun an Win App from UNC Path Pin
cloud92k22-Jul-08 21:50
Membercloud92k22-Jul-08 21:50 
AnswerRe: Run an Win App from UNC Path Pin
eburud22-Jul-08 23:39
Membereburud22-Jul-08 23:39 
AnswerRe: Run an Win App from UNC Path Pin
Jiangug23-Jul-08 0:52
MemberJiangug23-Jul-08 0:52 
GeneralRe: Run an Win App from UNC Path Pin
cloud92k23-Jul-08 9:26
Membercloud92k23-Jul-08 9:26 
Questionrotating a winform control Pin
Faysal22-Jul-08 20:11
MemberFaysal22-Jul-08 20:11 
AnswerRe: rotating a winform control Pin
John Ad22-Jul-08 21:03
MemberJohn Ad22-Jul-08 21:03 
GeneralRe: rotating a winform control Pin
The Cake of Deceit23-Jul-08 9:04
MemberThe Cake of Deceit23-Jul-08 9:04 
QuestionPlease help with xml reading Pin
Medp3722-Jul-08 19:42
MemberMedp3722-Jul-08 19:42 
AnswerRe: Please help with xml reading Pin
Srishti Mathur22-Jul-08 20:14
MemberSrishti Mathur22-Jul-08 20:14 
QuestionThread problem Pin
Mogaambo22-Jul-08 19:36
MemberMogaambo22-Jul-08 19:36 
AnswerRe: Thread problem Pin
Elroy Dsilva22-Jul-08 23:04
MemberElroy Dsilva22-Jul-08 23:04 
QuestionMy sort of first program that doesn't work Pin
DFlat4Now22-Jul-08 18:38
MemberDFlat4Now22-Jul-08 18:38 
AnswerRe: My sort of first program that doesn't work Pin
John Ad22-Jul-08 21:31
MemberJohn Ad22-Jul-08 21:31 
AnswerRe: My sort of first program that doesn't work Pin
mark_w_22-Jul-08 23:17
Membermark_w_22-Jul-08 23:17 
Questionparent form --> MDIChild connection Pin
shadowhazard22-Jul-08 18:32
Membershadowhazard22-Jul-08 18:32 

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.