Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3. using System.Linq;
  4.  
  5. namespace wr222ae_examination_1
  6. {
  7.     class Program
  8.     {
  9.         static void Main(string[] args)
  10.         {
  11.             var test = File.ReadAllLines("data.json");
  12.  
  13.             int[] dataJson = test.Select(n => Convert.ToInt32(n)).ToArray();
  14.  
  15.             dynamic result = Statistics.DescriptiveStatitics(dataJson);
  16.  
  17.             System.Console.WriteLine(result);
  18.        }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement