Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
QuestionSensor handling through coomport Pin
Sanjiv Barnwal6-Nov-13 2:41
Sanjiv Barnwal6-Nov-13 2:41 
AnswerRe: Sensor handling through coomport Pin
Chris Quinn6-Nov-13 3:26
Chris Quinn6-Nov-13 3:26 
SuggestionRe: Sensor handling through coomport Pin
Richard MacCutchan6-Nov-13 4:01
mveRichard MacCutchan6-Nov-13 4:01 
Questionoverlap Pin
Member 103812095-Nov-13 23:10
Member 103812095-Nov-13 23:10 
AnswerRe: overlap Pin
Abhinav S5-Nov-13 23:53
Abhinav S5-Nov-13 23:53 
GeneralRe: overlap Pin
Member 103812095-Nov-13 23:58
Member 103812095-Nov-13 23:58 
AnswerRe: overlap Pin
Abhinav S6-Nov-13 0:13
Abhinav S6-Nov-13 0:13 
AnswerRe: overlap Pin
BillWoodruff6-Nov-13 0:37
professionalBillWoodruff6-Nov-13 0:37 
Try this:
C#
List<TimeSpan> dateIntervals = endDates.Select((eDate, ndx) => eDate - startDates[ndx]).ToList();
The Linq 'Select function overload that supplies an index is available as of .NET FrameWork 3.5.

Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview

AnswerRe: overlap Pin
Richard MacCutchan6-Nov-13 0:38
mveRichard MacCutchan6-Nov-13 0:38 
GeneralRe: overlap Pin
Member 1038120911-Nov-13 8:38
Member 1038120911-Nov-13 8:38 
GeneralRe: overlap Pin
Richard MacCutchan11-Nov-13 22:28
mveRichard MacCutchan11-Nov-13 22:28 
QuestionradTreeListView - allow selection of items only at the same hierarchy Pin
devenv.exe5-Nov-13 19:57
professionaldevenv.exe5-Nov-13 19:57 
AnswerRe: radTreeListView - allow selection of items only at the same hierarchy Pin
Mycroft Holmes5-Nov-13 20:23
professionalMycroft Holmes5-Nov-13 20:23 
GeneralRe: radTreeListView - allow selection of items only at the same hierarchy Pin
BillWoodruff5-Nov-13 21:56
professionalBillWoodruff5-Nov-13 21:56 
GeneralRe: radTreeListView - allow selection of items only at the same hierarchy Pin
Mycroft Holmes5-Nov-13 23:11
professionalMycroft Holmes5-Nov-13 23:11 
AnswerRe: radTreeListView - allow selection of items only at the same hierarchy Pin
BillWoodruff5-Nov-13 20:51
professionalBillWoodruff5-Nov-13 20:51 
Questiondatetime overlap there result should be 2192 not 2923 Pin
Member 103812095-Nov-13 1:11
Member 103812095-Nov-13 1:11 
QuestionRe: datetime overlap there result should be 2192 not 2923 Pin
Richard MacCutchan5-Nov-13 1:19
mveRichard MacCutchan5-Nov-13 1:19 
AnswerRe: datetime overlap there result should be 2192 not 2923 Pin
Member 103812095-Nov-13 1:28
Member 103812095-Nov-13 1:28 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
Member 103812095-Nov-13 1:30
Member 103812095-Nov-13 1:30 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
Richard MacCutchan5-Nov-13 1:37
mveRichard MacCutchan5-Nov-13 1:37 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
Member 103812095-Nov-13 1:45
Member 103812095-Nov-13 1:45 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
Richard MacCutchan5-Nov-13 1:56
mveRichard MacCutchan5-Nov-13 1:56 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
Member 103812095-Nov-13 2:43
Member 103812095-Nov-13 2:43 
GeneralRe: datetime overlap there result should be 2192 not 2923 Pin
GuyThiebaut5-Nov-13 4:27
professionalGuyThiebaut5-Nov-13 4:27 

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.