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
What is difference between destructor and finalize?
What floating point types is supported in C#?
Can abstract class have private constructor c#?
What do you mean by abstract class in c#?
List the 5 different access modifiers in c#?
What is the difference between // comments, /* */ comments and /// comments?
Explain a MSIL ? Why is it appreciated by all developers?
What is regex c#?
Why do we need private constructor in c#?
What are the Types of JIT and what is econo-JIT
Enlist the different types of classes in c#?
Why main method is static in c#?
Explain About delegates
What exception can an overridden method throw in comparison with the method it is overriding?
Is c# still popular?