CS_0009_Array1
// print the nth element of the given Array
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication11
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[5];
numbers [0]=12;
numbers[1] = 32;
numbers[2] = 44;
numbers[3] = 55;
numbers[4] = 43;
Console.WriteLine(numbers[3].ToString());
Console.ReadLine();
}
}
}
Comments
Post a Comment