示例#1
0
        static void Main(string[] args)
        {
            DaySo ds = new DaySo();


            DaySo[] dsArray = new DaySo[ds.getElement()];
            int[]   array   = ds.Nhap(dsArray);
            ds.Sort(array);
        }
示例#2
0
        public int[] getSequence()
        {
            DaySo ds = new DaySo();

            DaySo[] arr = null;
            ds.Nhap(arr);
            int[] array = new int[arr.Length];
            for (int i = 0; i < array.Length; i++)
            {
                array[i] = arr[i].getNumber();
            }
            return(array);
        }