explain synchronous and asynchronous in C#

Answer Posted / s sharma

Synchronous is one after another, so you send one email
when that process is done it sends the

next one. Asynchronous starts sending an email and it
doesn't care if the first one is done and will

start the second, and this goes on until all emails are
sent. Normally, an asynchronous process

would open a new thread and run in the background.

Is This Answer Correct ?    37 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are circular references?

601


What is dependency in software?

607


What is streamreader/streamwriter class?

586


Is c# a backend language?

658


What are primitive types in c#?

611






Is a decimal an integer?

562


What is a protected class in c#?

587


Why ienumerable is used in c#?

535


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

2601


What is the difference between properties and indexer in c#?

507


What is the difference between string keyword and system.string class?

599


Why do we need encapsulation in c#?

616


What are the different states of a thread?

605


What is the difference between == and object.equals?

589


What does it mean to override a method?

539