Explain async and await?



Explain async and await?..

Answer / 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

More C Sharp Interview Questions

What is difference between method and function in c#?

0 Answers  


Tell me the difference between call by value and call by reference.

0 Answers   NIIT,


Can we have two main methods in c#?

0 Answers  


What is a lambda expression in c#?

3 Answers  


what is a structure in c#

3 Answers   Cognizant,


What is asynchronous one-way calls?

0 Answers  


Why objects are stored in heap in c#?

0 Answers  


What is console writeline in c#?

0 Answers  


What does int parse do in c#?

0 Answers  


What is icomparer in c#?

0 Answers  


What is the difference between dataset and datatable in c#?

0 Answers  


What is c# and why it is used for?

0 Answers  


Categories