When I click the 'play' button in Visual Studio the console window pops up and displays what it should, but closes immediately. How do i keep the window open until I type exit or something of my choice?
This is why I wasn't really annoyed with Windows 8's full screen Start. Since Vista I launch programs by quickly pressing the WIN key and typing first few letters of whatever it is I need. Honestly, my personal equivalent of the Start menu is the WIN+X menu - it truly contains some useful things I do not feel like typing into Search.
It makes sense to remove older drivers if newer ones are out. There have been times where Windows would push out a older driver when you wanted to install a newer one and it'd be a annoying problem.
As far as removing things older that don't have a newer driver, I think they'll look at the really old stuff that just isn't used anymore, this is where all that telemetry comes into play. I mean does WU really need to keep some old driver for a 20 year old piece of hardware in it's database?
This is also WU specifically, not the large list of drivers they actually ship WITH the OS on the DVD/USB key. I don't think you'd have to worry when doing a clean install of the OS after this point.
Question
giocloud
Hello All,
I'm new to write C# console apps. I have:
static void Main(string[] args)
{
Person p = new Person("Tony", "Allen", 32);
Console.WriteLine(p);
}
struct Person
{
public string firstName;
public string lastName;
public int age;
........
}
When I click the 'play' button in Visual Studio the console window pops up and displays what it should, but closes immediately. How do i keep the window open until I type exit or something of my choice?
Link to comment
https://www.neowin.net/forum/topic/474979-c-console-application/Share on other sites
6 answers to this question
Recommended Posts