Hi! Am new to programming and C# in particular. Av been following the lessons in the C# school for some time now, trying to run the examples as well as the exercises on my own. I can compile and run programs with Visual Studio.Net, but can't do the same using the command line even after following the author's instructions. Please, how do i compile and run my C# programs without Visual Studio.Net. Am I missing an important step?
Secondly, when i tried running the code example that was to take argument from the command line, the program did not wait for an input from the command line, but threw an exception instead.Here is a portion of the code:
static void Main(string userInput)
int input = int.Parse(userInput);
How do I get by this?