thread exeptions

This commit is contained in:
test 2019-05-03 17:21:10 +02:00
parent eaaab0db73
commit 39edfcd1bf
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ namespace ConsoleAppTasks
{
var t = new Task(simple);
t.Start();
//t.Exception gab es eine expetion??
t.Wait(); //is now main thread expetion
Console.WriteLine("Hello");
}