C#C
C#7mo ago
PSG.HQD

✅ How do I run async methods? WPF

Imagine you have an async method, and you want to run it in your constructor, how would you make it? since for Async methods you must use await but using await requires Async modifier which cannot be acquired on constructor?
The "async void" is not preffered only "async task". Thanks 🙏🏻
Was this page helpful?