Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
New easy way to start lightweight threads
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Rextester { public class Program { public static void Main(string[] args) { Task.Run(() => { for(int i=0; i<10; i++) { Console.WriteLine("test"); } }).Wait(); Console.WriteLine("Hello, world!"); Console.WriteLine(); //same without wait Task.Run(() => { for(int i=0; i<10; i++) { Console.WriteLine("test"); } }); Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
Sorting Square Problem
How to count the occurrence of each character in a string?
test1
Sin_in_degree_with_circle
Find Max Number Of Occurences in an int array
trees with reverse polish notation
1234
SKR2
neja]\
test1