i need to wait for my async void
to finish. It has some await Task.Delay
functions in it and I need them to finish before it continues. This void doesn't return anything so I don't see a reason to make it async Task<>
and I also shuffle an array inside this void and I declare some variables. So how can I do this ? Is async Task<>
the only way ? My void is not expecting any parameters/inputs.