C# help
SebiDragu (1)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

namespace Rextester
public class Program
public static void Main(string[] args)
Console.WriteLine("Hello, world!");
public static void math1()
Console.WriteLine("Enter a number: ");
int n = Int32.Parse(Console.ReadLine());
int[] numere = new int [n];

        for(int i = 0; i <= numere.Length - 1; i++)
            n = numere[i];
            Console.WriteLine("Number of elements is " + i.ToString());
            for(int j = 0; j < i; j++)
                Console.WriteLine("Elements are: " + j);

//First I wanna type "5" for example to set 5 elements and then add them and in final I want them all to show reversed.. Can you help me please?

You are viewing a single comment. View All
Answered by heyitsmarcus (280) [earned 5 cycles]
View Answer
heyitsmarcus (280)

@SebiDragu You are very welcome! Good luck, and please if you have more troubles, just post on this Ask forum. I tend to check it a few times a day, and I'm sure there are other C# developers on here somewhere if I miss it. Good luck!