Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Member 1038120910-Nov-13 23:14
Member 1038120910-Nov-13 23:14 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Pete O'Hanlon10-Nov-13 23:26
mvePete O'Hanlon10-Nov-13 23:26 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Member 1038120910-Nov-13 23:32
Member 1038120910-Nov-13 23:32 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Pete O'Hanlon10-Nov-13 23:47
mvePete O'Hanlon10-Nov-13 23:47 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Member 1038120911-Nov-13 0:16
Member 1038120911-Nov-13 0:16 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Pete O'Hanlon11-Nov-13 0:21
mvePete O'Hanlon11-Nov-13 0:21 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
Richard MacCutchan11-Nov-13 3:37
mveRichard MacCutchan11-Nov-13 3:37 
GeneralRe: subtract list first element with second one,third with secon one an so on Pin
OriginalGriff10-Nov-13 23:35
mveOriginalGriff10-Nov-13 23:35 
look at the value generated by the Subtract: it's not a DateTime, so you aren't using it.
Think about it: what do you get if you subtract one date from another? It can't be a date, because it doesn't have a reference point in time any more. It's a duration, or (in .NET speak) a TimeSpan.

Look at the TimeSpan structure[^], and you should find what you need in it's properties. Unless you want years or months, of course - because those require a reference point as well since they aren't all the same length.
If that's what you need, then try looking at this: Working with Age: it's not the same as a TimeSpan![^]
The only instant messaging I do involves my middle finger.

English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.

QuestionImport Dll in the Application Pin
Member 913191910-Nov-13 20:23
Member 913191910-Nov-13 20:23 
AnswerRe: Import Dll in the Application Pin
Abhinav S10-Nov-13 20:40
Abhinav S10-Nov-13 20:40 
AnswerRe: Import Dll in the Application Pin
Alan Balkany14-Nov-13 4:49
Alan Balkany14-Nov-13 4:49 
Questioninstaller for window form application c# 4.0,2010 Pin
Member 1026351910-Nov-13 19:58
Member 1026351910-Nov-13 19:58 
AnswerRe: installer for window form application c# 4.0,2010 Pin
thatraja10-Nov-13 20:07
professionalthatraja10-Nov-13 20:07 
AnswerRe: installer for window form application c# 4.0,2010 Pin
Abhinav S10-Nov-13 21:12
Abhinav S10-Nov-13 21:12 
GeneralRe: installer for window form application c# 4.0,2010 Pin
Member 1026351913-Nov-13 0:51
Member 1026351913-Nov-13 0:51 
QuestionPLEASE HELP ME CONVERT C++ TO PYTHON Pin
ege yay10-Nov-13 7:58
ege yay10-Nov-13 7:58 
AnswerRe: PLEASE HELP ME CONVERT C++ TO PYTHON Pin
Dave Kreskowiak10-Nov-13 10:32
mveDave Kreskowiak10-Nov-13 10:32 
GeneralRe: PLEASE HELP ME CONVERT C++ TO PYTHON Pin
BlackHat Umbrella10-Nov-13 19:24
professionalBlackHat Umbrella10-Nov-13 19:24 
AnswerRe: PLEASE HELP ME CONVERT C++ TO PYTHON Pin
Pete O'Hanlon10-Nov-13 10:38
mvePete O'Hanlon10-Nov-13 10:38 
AnswerRe: PLEASE HELP ME CONVERT C++ TO PYTHON Pin
Abhinav S10-Nov-13 16:59
Abhinav S10-Nov-13 16:59 
AnswerRe: PLEASE HELP ME CONVERT C++ TO PYTHON Pin
thatraja10-Nov-13 20:00
professionalthatraja10-Nov-13 20:00 
Questionfind total year without intersection in c# Pin
Member 1038120910-Nov-13 4:11
Member 1038120910-Nov-13 4:11 
AnswerRe: find total year without intersection in c# Pin
Dave Kreskowiak10-Nov-13 10:33
mveDave Kreskowiak10-Nov-13 10:33 
Questionc# Pin
Member 1038120910-Nov-13 0:49
Member 1038120910-Nov-13 0:49 
AnswerRe: c# Pin
Abhinav S10-Nov-13 1:39
Abhinav S10-Nov-13 1:39 

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.