Click here to Skip to main content
14,330,776 members
   

C#

 
AnswerRe: How to get the Average with No LINQ code ! Pin
Richard MacCutchan3-May-19 4:59
protectorRichard MacCutchan3-May-19 4:59 
GeneralRe: How to get the Average with No LINQ code ! Pin
Abdalla Ben Omran3-May-19 5:31
memberAbdalla Ben Omran3-May-19 5:31 
GeneralRe: How to get the Average with No LINQ code ! Pin
Richard MacCutchan3-May-19 5:35
protectorRichard MacCutchan3-May-19 5:35 
QuestionHow to read CSV file which the data in File is not clear ! Pin
Abdalla Ben Omran2-May-19 23:12
memberAbdalla Ben Omran2-May-19 23:12 
AnswerRe: How to read CSV file which the data in File is not clear ! Pin
OriginalGriff2-May-19 23:14
protectorOriginalGriff2-May-19 23:14 
AnswerRe: How to read CSV file which the data in File is not clear ! Pin
Richard MacCutchan2-May-19 23:32
protectorRichard MacCutchan2-May-19 23:32 
AnswerRe: How to read CSV file which the data in File is not clear ! Pin
BillWoodruff3-May-19 2:42
mveBillWoodruff3-May-19 2:42 
AnswerRe: How to read CSV file which the data in File is not clear ! Pin
Gerry Schmitz3-May-19 3:52
mveGerry Schmitz3-May-19 3:52 
2014-7-1,76,66,86,66,85,48,97,1885,1970,0.13,0.16,5.09

Yes, String.Split() using comas.

token[0] is the "date"; Convert.ToDate(token[0])
token[1] is the "actual mean temp"; Convert.ToInt32(token[1])
etc.

The trailing fields are not part of your identified requirements.

How to: Parse Strings Using String.Split (C# Guide) | Microsoft Docs

(Just noticed some of the MS docs now have a "run" command button).
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal


modified 3-May-19 10:05am.

AnswerRe: How to read CSV file which the data in File is not clear ! Pin
#realJSOP4-May-19 4:49
mve#realJSOP4-May-19 4:49 
QuestionLiterally my first "program", and I'm trying to break it down. Pin
Member 143531442-May-19 13:36
memberMember 143531442-May-19 13:36 
AnswerRe: Literally my first "program", and I'm trying to break it down. Pin
Member 143531442-May-19 13:44
memberMember 143531442-May-19 13:44 
GeneralRe: Literally my first "program", and I'm trying to break it down. Pin
Gerry Schmitz2-May-19 13:57
mveGerry Schmitz2-May-19 13:57 
AnswerRe: Literally my first "program", and I'm trying to break it down. Pin
OriginalGriff2-May-19 21:28
protectorOriginalGriff2-May-19 21:28 
QuestionSoftware/Tool for Form Designing to be user on cross platform Pin
Singh Anita2-May-19 3:23
memberSingh Anita2-May-19 3:23 
AnswerRe: Software/Tool for Form Designing to be user on cross platform Pin
Richard MacCutchan2-May-19 3:36
protectorRichard MacCutchan2-May-19 3:36 
QuestionDéveloppement général Pin
Member 1434980630-Apr-19 5:52
memberMember 1434980630-Apr-19 5:52 
AnswerRe: Développement général Pin
OriginalGriff30-Apr-19 6:32
protectorOriginalGriff30-Apr-19 6:32 
AnswerMODBUS RTU Pin
Luc Pattyn30-Apr-19 9:01
professionalLuc Pattyn30-Apr-19 9:01 
AnswerRe: Développement général Pin
Gerry Schmitz30-Apr-19 20:56
mveGerry Schmitz30-Apr-19 20:56 
QuestionNewbie: if/else Pin
Member 1434938430-Apr-19 2:38
memberMember 1434938430-Apr-19 2:38 
AnswerRe: Newbie: if/else Pin
OriginalGriff30-Apr-19 3:10
protectorOriginalGriff30-Apr-19 3:10 
GeneralRe: Newbie: if/else Pin
Member 1434938430-Apr-19 4:23
memberMember 1434938430-Apr-19 4:23 
GeneralRe: Newbie: if/else Pin
OriginalGriff30-Apr-19 4:30
protectorOriginalGriff30-Apr-19 4:30 
GeneralRe: Newbie: if/else Pin
Richard MacCutchan30-Apr-19 5:47
protectorRichard MacCutchan30-Apr-19 5:47 
GeneralRe: Newbie: if/else Pin
OriginalGriff30-Apr-19 5:52
protectorOriginalGriff30-Apr-19 5:52 

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.