Running with Code

Like scissors, only more dangerous

  Home  |   Contact  |   Syndication    |   Login
  79 Posts | 0 Stories | 166 Comments | 2 Trackbacks

News



Archives

Post Categories

All Terralever

ASP.NET

Misc

April 2009 Entries

Today I’m going to talk about a feature of C# that has been around since 2.0 (with the introduction of anonymous delegates) but which gets nearly no lip service and, despite the fact that most C# developers have probably used it, they’ve probably used it without thinking about it. This feature is called closure, and it refers to the ability of a nested function to make reference to the surrounding function’s variables. This article will make extensive discussion of how delegates are implemented in...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I’m working on porting an existing forum-based community from SMF to a new .NET-based forum platform that I’m authoring. I’m excited about it; I love SMF, but it doesn’t have what I want and frankly, it’s a scary beast to try to tackle. I’d considered using some kind of bridge between it and my code, but I knew I wanted deep integration of the forums with the new community site, and I wanted the community site in .NET. So I made the decision to write an importer to talk between MySQL and my SQL Server-based...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati