Click here to Skip to main content
14,301,387 members
   

C#

 
GeneralRe: How to read a Temperature for August and get the total Aveg just for 29 day instead 31 day ? Pin
#realJSOP9-May-19 1:31
mve#realJSOP9-May-19 1:31 
GeneralRe: How to read a Temperature for August and get the total Aveg just for 29 day instead 31 day ? Pin
Abdalla Ben Omran9-May-19 22:12
memberAbdalla Ben Omran9-May-19 22:12 
QuestionHow to detect advertisement from a Video File Pin
Member 115186794-May-19 1:40
memberMember 115186794-May-19 1:40 
AnswerRe: How to detect advertisement from a Video File Pin
OriginalGriff4-May-19 1:54
protectorOriginalGriff4-May-19 1:54 
AnswerRe: How to detect advertisement from a Video File Pin
#realJSOP4-May-19 2:39
mve#realJSOP4-May-19 2:39 
GeneralRe: How to detect advertisement from a Video File Pin
OriginalGriff4-May-19 2:44
protectorOriginalGriff4-May-19 2:44 
AnswerRe: How to detect advertisement from a Video File Pin
Gerry Schmitz4-May-19 3:06
mveGerry Schmitz4-May-19 3:06 
QuestionHow to get the Average with No LINQ code ! Pin
Abdalla Ben Omran3-May-19 4:19
memberAbdalla Ben Omran3-May-19 4:19 
public static TheWeather GetAverageForMonth(List<TheWeather> entries, int year, int month)
       {
           TheWeather GetItem = entries.First();

           return GetItem;
       }


from this method i would like to find the Avergage for EX year 2018, month = 5 which they are already saved in the List <theweather> and the The Class TheWeather has the Properties :

public class TheWeather
    {
        public DateTime dateTime { get; set; }
        public double Actual_mean_temp { get; set; }
        public double Record_min_temp { get; set; }
        public double Record_max_temp { get; set; }
        public double Actual_precipitation { get; set; }


    }

without using the LINQ i would like to find the Average please .
AnswerRe: How to get the Average with No LINQ code ! Pin
Eddy Vluggen3-May-19 4:59
mveEddy Vluggen3-May-19 4:59 
GeneralRe: How to get the Average with No LINQ code ! Pin
Abdalla Ben Omran3-May-19 5:29
memberAbdalla Ben Omran3-May-19 5:29 
GeneralRe: How to get the Average with No LINQ code ! Pin
Eddy Vluggen3-May-19 9:09
mveEddy Vluggen3-May-19 9:09 
GeneralRe: How to get the Average with No LINQ code ! Pin
Gerry Schmitz3-May-19 6:59
mveGerry Schmitz3-May-19 6:59 
GeneralRe: How to get the Average with No LINQ code ! Pin
OriginalGriff3-May-19 8:01
protectorOriginalGriff3-May-19 8:01 
GeneralRe: How to get the Average with No LINQ code ! Pin
Eddy Vluggen3-May-19 23:36
mveEddy Vluggen3-May-19 23:36 
GeneralRe: How to get the Average with No LINQ code ! Pin
#realJSOP4-May-19 2:41
mve#realJSOP4-May-19 2:41 
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 
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 

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.