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

What are the advantages of using c#?

979


What is delegates in c# and uses of delegates?

905


Why is lazy loading?

912


How many types of constructor are there in c#?

953


How do you serialize in c#?

918


Is c# good for beginners?

940


Can I define a type that is an alias of another type (like typedef in c++)?

1015


Which is faster array or arraylist in c#?

950


What is the difference between string and stringbuilder in c#?

1020


Explain the types of comments in c#?

961


Why do we use yield in c#?

972


What are the advantages of using delegates in c#?

967


Why should you override the tostring() method?

1085


Is array a list?

934


What are the benefits of using the aggregate method in linq?

1060