Pages
(Move to ...)
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
▼
Wednesday, 27 July 2016
C Sharp Array Tutorial
C# Array Tutorial
class Program
{
static void Main(string[] args)
{
int[] ar = new int[5];
for(int i=0;i<5;i++)
{
Console.Write("Enter Number>> ");
ar[i]=int.Parse(Console.ReadLine());
}
for(int i=0;i<5;i++)
Console.WriteLine(ar[i]);
}
}
Next Topic
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment