Пример #1
0
        private static void UintArrayProcessing()
        {
            ArrayLength();
            uint[] uintArr = new uint[length];
            for (int i = 0; i < uintArr.Length; i++)
            {
                uintArr[i] = Convert.ToUInt32(SingleRandom.Next(0, 1000000));
            }

            ConsolePrintArray(uintArr);
            uint uintSum = uintArr.ArraySum();

            Console.WriteLine($"Sum of elements in array: {uintSum.ToString()}");
        }