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
How many digits is a 32 bit number?
What is the difference between func and action delegate?
What is managed or unmanaged code?
What is a function c#?
Difference between value and reference type. What are value types and reference types?
What is iqueryable and ienumerable in c#?
Is friend a constructor?
What is this keyword in C#?
What do you mean by default constructor?
Is post back c#?
Give an example of a directcast.
If dll and exe files are same it means you can deploy both the files in gac?
How do I count the length of a string in c#?
What is Wrapper class in dot net?
How can I develop an application that automatically updates itself from the web?