C# Arrays
Open your favorite text editor and type the following C# source code: using System; public class ArrayMembers{ public static void Main(string[] args) { //Skip 1 line Console.WriteLine("\n"); //Iterate through the items of array args using foreach foreach(string s in args) { Console.WriteLine(s); } //Skip 2 lines Console.WriteLine("\n\n"); //Declare array strNames string[] strNames = {"Joe","Mary","Bill","Fred"}; //Iterate [...]
Read more



11:01 pm by Arun Sharma