Hello all, first of all: Thank you for these magnificent tutorials. The C# has been helping me a lot.
However, when I arrived at the tutorial about methods I noticed that the programs wouldn't run properly. Is this a problem in my settings or a problem with the code?
This code for example only gives me a "press any key to continue" message when executed. (I got the method directly from the tutorial)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
}
static void Count(int numberToCountTo)
{
for (int current = 1; current <= numberToCountTo; current++)
{
Console.WriteLine(current);
}
}
}
}If you have any idea on how to fix this I'd be very grateful!

