Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to declares a two-dimensional array in C#?

994


Can you put two constructor with the same structure in a class?

882


Which is faster hashtable or dictionary?

928


What is class sortedlist underneath?

907


What is razor view in c#?

792


Can a dictionary have duplicate keys c#?

871


Why do we overload constructors?

860


How do you declare a method in c#?

894


What is an escape sequence?

885


What is the difference between throw and throw ex?

825


Are constructors inherited c#?

856


What are the Configuration files in .net?

925


What are the different approaches of passing parameters to a method?

931


What is default value of enum c#?

855


Can you access a hidden base class method in the derived class?

884