using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsolePractice { class CArray { private int[] arr; //数组大小 private int upper; //下标 private int numElements; /// <summary> /…