What is difference between yielding and sleeping?
Answer / Rupendra Bahadur Singh
In C#, `yield` is a keyword used in generators to return a sequence of values one at a time, while `Thread.Sleep()` is a method that suspends the execution of the current thread for a specified amount of time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which controls do not have events?
What is an extension method in c#?
Can var be null c#?
What is collection of classes in c#?
How many root nodes are there in an xml document?
Is c# pass by value?
What are handlers in c#?
Can a private virtual method can be overridden?
what is the purpose of interface in c#.net
What is use of abstract class in c#?
How do I do implement a trace?
Where do you add an event handler ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)