Example #1
0
        public static void Main(string[] args)
        {
            var revenueList = new List <RevenueDTO>();

            revenueList.Add(new RevenueDTO {
                Month = 1, Revenue = 11602710.6694915
            });
            revenueList.Add(new RevenueDTO {
                Month = 2, Revenue = 12044305.3898305
            });
            revenueList.Add(new RevenueDTO {
                Month = 3, Revenue = 12273332.5847458
            });

            var forecast = new Forecast(0.7, 0.15, 0.1, 1, revenueList);
            var gagr5    = forecast.Gagr5;
            var acc      = forecast.Accuracy;
        }
 public static void ChangeTheClassInstance(Forecast forecast)
 {
     forecast.Temperature = 35;
 }