Yield statement in C# (jalpesh.blogspot.com)
submitted by
jalpesh(60) 3 months ago
ield statement is one of most interesting statement in the C# 2.0. I have heard about lot of yield statement but today i have learned about yield statement. Yield statement can be used to return multiple object from a method while retaining its state. You can get item in sequence with help of yield.Let take a simple example to see the power or yield statement
|
category: C#
|
Views: 12
tags:
C# another
Everyones tags:
Your Tags: