private void GenerateRandomPoints() { for (int i = 0; i < countPoint; i++) { ResultPoint[i].x = normalDistribution.NextDouble(); } ResultPoint = ResultPoint.OrderBy(x => x.x).ToArray(); }