Event subscription on async method
问题 I wanna launch the LoadDataAsync in 2 ways. First by an event with the subcription in FormLoad() and by a classic method ManualLoad() . But I can't make it work. I can't make subscription on task return. With void it's works, but with void can't await in the ManualLoad() method. How make both ways work? public delegate void ProductDelegate(long? iShopProductId); public event ProductDelegate ProductSelectionChanged = delegate { }; public async Task LoadDataAsync(long? iProductId) { //await