Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace jaggedArrays
- {
- class Program
- {
- static void Main(string[] args)
- {
- int[] array = new int[20];
- for(int i = 0; i < 20; i++)
- {
- array[i] = i * 5;
- }
- foreach(int item in array)
- {
- Console.Write(" " + item);
- }
- Console.ReadLine();
- }
- }
- }
Add Comment
Please, Sign In to add comment