bhartzer

Stories kicked by bhartzer

The Yield Statement in C#(alteridem.net)

submitted by rprouserprouse(1175) 4 years, 9 months ago

The yield statement is another often overlooked keyword that was introduced in .NET 2.0. It is used to return items from a loop within a method and retain the state of the method through multiple calls. read more...

2 comments |category: |Views: 125

tags: another

The surprising behavior of "as" in C#(blog.activa.be)

submitted by activaactiva(2340) 4 years, 9 months ago

Type casting and the "as" operator are not the same in C#. Not by a long shot. read more...

add a comment |category: |Views: 142

tags: another