Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Rextester.Program.Main is the entry point for your code. Don't change it.
- //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text.RegularExpressions;
- namespace Rextester
- {
- public class Program
- {
- public static void Main(string[] args)
- {
- int[] asd = new int[10];
- for (int j = 1; asd.Length; j+=2)
- {
- asd[j] = j;
- }
- //kiiratás
- for (int x = 1; asd.Length; x++)
- {
- Console.Write("{0,3}",asd[x]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement