title: Get statistic of executed tasks in C#
body: <p>I have following simple code:</p>
  
  <pre><code>var tasks = statements.Select(statement =&gt; _session.ExecuteAsync(statement));
  var result = Task.WhenAll(tasks).Result;
  [...]
  </code></pre>
  
  <p>How can I calculate min, max, avg, etc. of all executed tasks?
  The task class doesn't have property like "executedMilliseconds"</p>