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
Define thread?
What is lazy loading and eager loading in c#?
What is the difference between a constant and a static readonly field?
Is namespace a class?
Which are the access modifiers available in c#?
What is difference between web and window application?
I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
What is Named parameter in C#?
Is it possible to execute multiple catch block for a single try statement?
What is a partial class. Give an example?
What is disco?
How do you create dlls in .NET
Which are access modifiers available in c#?
What’s thread.sleep() in threading ?
what is full assembly reference