Answers for "close all the threads without exiting c# in console"

C#
1

c# close all threads application exit

Put this code at the end of your Main() method:

Environment.Exit(Environment.ExitCode);
Posted by: Guest on July-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language