I have the following four tests and the last one hangs when I run it. Why does this happen:
[Test] public void CheckOnceResultTest() { Assert.IsTrue(Check
Acquiring a value via an async method:
var result = Task.Run(() => asyncGetValue()).Result;
Syncronously calling an async method
Task.Run( () => asyncMethod()).Wait();
No deadlock issues will occur due to the use of Task.Run.