What is yield in c#?
Answer / Brajesh Kumar Bharati
Yield is a keyword in C# that allows you to create iterators. Iterators are objects which provide a way to access the elements of a collection one at a time, without loading all of them into memory at once. The yield keyword generates the sequence on demand.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is eager loading in c#?
What's new in c#?
What is Signature and parameter in overloading ?
How can we sort the elements of the array in descending order?
Can derived classes have greater accessibility than their base types?
Is c# lazy thread safe?
How does bitwise xor work?
When was c# created?
What are the string functions in c#?
How can we give strong name to assembly? What is satellite assembly?
What is meant by generics in c#?
Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio ?
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)