In these examples, the dimensions of the array are input by the user ///////////// Declaring 1 - dimensional arrays using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { class Program { static void Main(string args) { // declaration of integer array int myArray1 = new int[5]; int myArray2 = { 10,