|
-
November 22nd, 2015, 09:43 AM
#1
Why is my Hello World C# application not running through the command prompt?
I'm working through Pluralsight's C# Fundamentals with C# 5.0 using Visual Studio Community and for some reason my Hello World application does not run through the command prompt, yet it runs properly through the VS debugger.
I built the application in VS, opened the command prompt, cd'd to the proper folder and entered "Hello.exe". The command prompt "cursor" just blinks.
I'm using Windows 10 and have included my code below. Any thoughts?
Code:
using System;
namespace Hello
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World.");
}
}
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|