swaroop


{ City }
< Country > india
* Profession *
User No # 106170
Total Questions Posted # 1
Total Answers Posted # 1

Total Answers Posted for My Questions # 1
Total Views for My Questions # 3483

Users Marked my Answers as Correct # 13
Users Marked my Answers as Wrong # 1
Questions / { swaroop }
Questions Answers Category Views Company eMail

I want to single value if you give any integer value. Below are examples  1. Input: 123  Output: 6 2. Input: 99   9+9=18   1+8  Output: 9 How to get above output?

AxSys,

1 C Sharp 3483




Answers / { swaroop }

Question { Mastek, 36768 }

explain synchronous and asynchronous in C#


Answer

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