await SomethingAsync();
}
async Task SomethingTask()
{
await SomethingAsync();
}
Just to be clear i am not talking about Task<T>.
May be yes,void will no return value,but task will return a task(not sure)
Yes, uncaught exceptions go boom with void. Stored with Task
task has return Task.IsCompleted but i don't know why i need that.
what do you mean?
How to send code like this?
In general void async is not recommended except for event handlers
Обсуждают сегодня