in

B# .NET Technical Community Homepage

Bart De Smet's online technical community
All Tags » C# 3.0 » C# 2.0 (RSS)

Browse by Tags

  • Reader Challenge – Fault Handlers in C#

    The CLR’s exception handling facilities provide for protected blocks (“try”) one can associate a handler with. There are four kinds of handlers, and exactly one can be associated with a protected block (but nesting can be used to associate multiple handlers with a block of code): A finally handler is...
    Posted to B# .NET Blog (Weblog) by bart on 12-06-2009
  • About cruel lambdas, closures, TypedReferences, CS0610 and other things you shouldn’t do

    A few days ago I had a derailed conversation on C# languages features once more. It turned out that closures are not well-understood in general, so I wanted to point out a few things in an attempt to clarify the concept and how it’s implemented in the language. By the end of this post you’ll understand...
    Posted to B# .NET Blog (Weblog) by bart on 10-26-2008
  • How C# Array Initializers Work

    Everyone knows array initializers; they’ve been part of the language since the very beginning. But do you know how this innocent looking construct really works? var ints = new [] { 1, 2, 3 }; Before we continue, I should point out that the above sample uses a couple of C# 3.0 specific features, namely...
    Posted to B# .NET Blog (Weblog) by bart on 08-21-2008
  • Introducing PLINQ

    On the last edition of Developer & IT Pro Days in Belgium last week, Raj Pai - program manager on the C# team at MS Corp - delivered the first public demo of PLINQ aka Parallel LINQ . Let's have a quick look... By now, every blog reader should be familiar with the concept of LINQ, the Language INtegrated...
    Posted to B# .NET Blog (Weblog) by bart on 04-04-2007
  • C# anonymous methods in depth

    Introduction C# 2.0 is out there for quite a while now but I still have some in-depth posts on my to-blog-list. This time, I'm going to focus on the inner workings of anonymous methods . Delegates Delegates are managed function pointers. Classic example: using System; using System.Threading; class Demo...
    Posted to B# .NET Blog (Weblog) by bart on 09-10-2006
  • Bart De Smet - MVP Edition - version 3.0 has shipped :-)

    For the third year in row, I've received the MVP award of Microsoft, for the "Visual Developer - Visual C#" category. Time to celebrate (1-2-3 done) :d.
    Posted to B# .NET Blog (Weblog) by bart on 10-09-2005
Page 1 of 1 (6 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems