Yesterday, I wanted to show someone how CallCC works in C#/async, but I couldn’t find any examples in my web search results. C#/async has been out in the world for some time, I’d be surprised if this hasn’t been done before, but just in case here’s a quick implementation. Enjoy.
Category Archives: Csharp
PDC10: Future of C# and Visual Basic
Anders Hejlsberg talking on the new C# and VB features for the version to follow C# 4.0 (timecode 48:10): [Async methods] allow you to compose asynchronous stuff using normal flow of control and using all of the statements that you know already. Pretty sweet. The first (longer) portion of the presentation is on the new …
Loop variable closure semantics
Just a quick post, haven’t shared anything in a while, but found this discussion on loop variables and closures interesting — well, inflammatory, actually.