How do I arrange the numbers next to each other instead of on top of each other?
I tried implementing \t but it gives me an error or doesn't do anything at all.
int[] anzFeldElemente = new int[10];
Random wuerfel = new Random();
for (int i = 0; i < anzFeldElemente.Length; i++)
{
anzFeldElemente[i] = wuerfel.Next(0, 100);
}
Array.Sort(anzFeldElemente);
foreach (int i in anzFeldElemente)
{
Console.WriteLine(i "\t");
}
Console.ReadLine();
Also, is it possible to draw a field similar to Microsoft Excel in a console app? Is there a function to draw one?
Thanks in advance.