Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
130 views

I want to loop and ask user if he wants to continue. If no answer for a while, loop anyway. while (true) { Console.WriteLine("\nDo you want to continue? (Type 'no' or 'exit' to break, or wait ...
Doof Warrior's user avatar
1 vote
1 answer
34 views

I'm trying to get a hardware id with a .net console app (target framewotk is net8.0-windows10.0.17763.0). The code is rather trivial, just var token = Windows.System.Profile.HardwareIdentification....
Volker's user avatar
  • 1,849
1 vote
1 answer
33 views

Working version: private static void SetLogging(WebApplicationBuilder builder) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext() .MinimumLevel.Override("...
SydneyShoo's user avatar
0 votes
1 answer
33 views

I'm working on a program using the CLion IDE, and am running it using the IDE's Run or Debug actions. The program's standard output and error streams are directed to an embedded 'Run' console, ...
einpoklum's user avatar
  • 137k