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

Why do we need interface in c#?

1011


what is virtual method in c#?

1192


What is a generic method?

972


What is an array of arrays called?

868


What are the 2 broad classifications of fields in c#?

928


Why do we use constructors in c#?

1122


What is class and object c#?

904


What are the access modifiers in c#?

945


how background thread access to ui control?

1054


Explain About delegates

1028


Why are local variables stored in stack?

1037


What are the steps to make an assembly to public?

987


How would you describe encapsulation in c#?

907


How many static constructors are allowed in a class?

951


What is readline c#?

895