Explain async and await?

Answer Posted / hr@tgksolutions.com

async/await is a cleaner way to handle asynchronous code compared to Promises.
• await pauses execution until the Promise resolves.
• async ensures the function returns a Promise.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are constructors inherited c#?

670


Define an assembly in .net?

736


What is lazy t?

692


How is a loop recorder monitored?

709


C# called c sharp why?

766


How do you escape in c#?

730


Explain the types of errors in c#?

656


What is a protected class c#?

672


What are regular expressions? Search a string using regular expressions?

697


What are Namespaces?

975


What is a verbatim string literal and why do we use it?

698


What is dataset and dataadapter in c#?

683


What problem does Delegate Solve?

747


What is event delegate in c#?

811


How to Show Message box in Metro Style App?

775