Top "Console-application" questions

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.

Can I get copy/paste functionality from a C# Console Window?

I am developing a console application in C#, and was wondering if there was a way to get the "copy-paste" …

c# command-line console console-application copy-paste
Startup.cs in a self-hosted .NET Core Console Application

I have a self-hosted .NET Core Console Application. The web shows examples for ASP.NET Core but i do not …

c# console-application .net-core
Correct File Path within C# Console Application

Can someone please tell me how I can get the correct file path for the file data.xml? Here is …

c#-4.0 console-application relative-path filepath
Only one configSections element allowed per config file and if present must be the first child of the root configuration element

I am developing the console application and when I run the .exe file, I get the following error: system.Configuration.…

c# asp.net iis-7 console-application app-config
CPU friendly infinite loop

Writing an infinite loop is simple: while(true){ //add whatever break condition here } But this will trash the CPU performance. …

c# .net console-application infinite-loop
How does a Spring Boot console based application work?

If I am developing a rather simple Spring Boot console-based application, I am unsure about the placement of the main …

java console-application spring-boot
What is the difference between getch() and getchar()?

What is the exact difference between the getch and getchar functions?

c io console-application stdio c-standard-library
Cooler ASCII Spinners?

In a console app, an ascii spinner can be used, like the GUI wait cursor, to indicate that work is …

user-interface console-application ascii-art throbber progress-indicator
Error message "CS5001 Program does not contain a static 'Main' method suitable for an entry point"

Unable to execute the following code error CS5001 Program does not contain a static 'Main' method suitable for an entry …

c# console visual-studio-2017 console-application .net-core-2.0
How do I get a return value from Task.WaitAll() in a console app?

I am using a console app as a proof of concept and new need to get an async return value. …

c# .net task-parallel-library console-application async-await