Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SingleDimensionArray
- {
- static void Main(string[] args)
- {
- string[] students = new string[3] {"James" , "Alex", "John"};
- for (int i = 0; i < students.Length; i++)
- {
- Console.WriteLine(students[i]);
- }
- }
- }
Add Comment
Please, Sign In to add comment