private void UpdateIntervalsFields() { if (IntervalsList.Count > 0) { AvgInterval = IntervalsList.Sum() / IntervalsList.Count; MinInterval = IntervalsList.Min(); MaxInterval = IntervalsList.Max(); } }
private void UpdateIntervalsFields() { if (IntervalsList.Count > 0) { AvgInterval = IntervalsList.Sum() / IntervalsList.Count; MinInterval = IntervalsList.Min(); MaxInterval = IntervalsList.Max(); } }