explain synchronous and asynchronous in C#
Answer Posted / swaroopkumar1069
In simplest words, synchronous functions block the calling function until they complete their task. For instance, Thread.Sleep, Console.WriteLine and Console.ReadLine, these function do not let the control to shift to the next lines until they perform their functionality. Asynchronous methods are those methods which return immediately to the caller function and continue executing their task in parallel with the caller function. They do not block the caller function and it is due to this reason that they are called non-blocking functions
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Why do we need interface in c#?
what is virtual method in c#?
What is a generic method?
What is an array of arrays called?
What are the 2 broad classifications of fields in c#?
Why do we use constructors in c#?
What is class and object c#?
What are the access modifiers in c#?
how background thread access to ui control?
Explain About delegates
Why are local variables stored in stack?
What are the steps to make an assembly to public?
How would you describe encapsulation in c#?
How many static constructors are allowed in a class?
What is readline c#?