// // Example of One dimentional array // Example of Single dimentional array using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SD_array { class sd_array { static void Main(string[] args) { int [] arr= new int[6]; int x=0; //accessing values of an array using for loop for(int i = 0; i <6 data-blogger-escaped-10="" data-blogger-escaped-accessing="" data-blogger-escaped-an="" data-blogger-escaped-arr="" data-blogger-escaped-array="" data-blogger-escaped-assigning="" data-blogger-escaped-console.readkey="" data-blogger-escaped-console.write="" data-blogger-escaped-console.writeline="" data-blogger-escaped-each="" data-blogger-escaped-for="" data-blogger-escaped-foreach="" data-blogger-escaped-i="" data-blogger-escaped-in="" data-blogger-escaped-int="" data-blogger-escaped-loop="" data-blogger-escaped-of="" data-blogger-escaped-pre="" data-blogger-escaped-to="" data-blogger-escaped-using="" data-blogger-escaped-values="" data-blogger-escaped-x="">
Friday, 8 February 2013
Arrays in C#.Net(Single Dimentional Array)
Labels:
C# basics
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment