using System.Collections.Generic;
using System.Threading.Tasks;
static void Main(string[] args)
int ispt = nhapsonguyen();
int [] arrA = new int [ispt];
static int nhapsonguyen()
Console.Write(" nap so Nguyen duong =");
int.TryParse(Console.ReadLine(),out IN);
} while ( IN< 1||IN>100);
static void xuatmang ( int[] arrA)
for( int i = 0;i<arrA.Length;i++)
Console.Write("{0}\t ",arrA[i]);
static void nhapmang ( int [] arrA)
for( int i =0;i<arrA.Length;i++)
Console.Write(" nhap arrA");
int.TryParse(Console.ReadLine(),out arrA[i]);