The following code works the way I want, but it triggers a warning:
Warning 1 Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Is there an alternative to Task.Run()
that will start this thread in a beautiful way?
source share