Click here to Skip to main content
14,484,661 members
   

C#

 
GeneralRe: Deployment WinForm, SqlExpress, DB Pin
franz.pilgerstorfer23-Jul-08 21:27
Memberfranz.pilgerstorfer23-Jul-08 21:27 
QuestionAttaching database Pin
hadad22-Jul-08 21:21
Memberhadad22-Jul-08 21:21 
AnswerRe: Attaching database Pin
franz.pilgerstorfer22-Jul-08 22:52
Memberfranz.pilgerstorfer22-Jul-08 22:52 
GeneralRe: Attaching database Pin
hadad22-Jul-08 22:59
Memberhadad22-Jul-08 22:59 
AnswerRe: Attaching database Pin
mark_w_22-Jul-08 23:05
Membermark_w_22-Jul-08 23:05 
QuestionSMTP server capacity Pin
hadad22-Jul-08 21:15
Memberhadad22-Jul-08 21:15 
AnswerRe: SMTP server capacity Pin
eburud22-Jul-08 22:30
Membereburud22-Jul-08 22:30 
QuestionLINQ query performance Pin
Jacek Gajek22-Jul-08 21:00
MemberJacek Gajek22-Jul-08 21: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:
---->start========stop1==========stop1------stop2----------

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