B# .NET Technical Community Homepage

Bart De Smet's online technical community
All Tags » C# 3.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
  • Taming Your Sequence’s Side-Effects Through IEnumerable.Let

    Introduction Side-effects don’t fit together very well with functional-style delayed computation, as observed in LINQ. Having such constructs embedded in an otherwise eagerly evaluated imperative language like C# can cause quite some confusion from time to time. A few samples (due to Erik Meijer) of...
    Posted to B# .NET Blog (Weblog) by bart on 09-12-2009
  • Type-Free Lambda Calculus in C#, Pre-4.0 – Defining the Lambda Language Runtime (LLR)

    Introduction A while back, I blogged about (Mis)using C# 4.0 Dynamic – Type-Free Lambda Calculus, Church Numerals, and more which was a fun post and got some good feedback and solid reading numbers. So, let’s continue our journey of brain-exploding theoretical foundational posts with “The Revenge of...
    Posted to B# .NET Blog (Weblog) by bart on 08-30-2009
  • ExceLINQ – Not Your Typical LINQ Provider

    Introduction On my last trip I had the opportunity to talk on the subject of LINQ once more. Geeky as we are, this time’s session title was “LINQ in breadth”, an orthogonal view on LINQ compared to my last year’s LINQ in depth talk. But what makes LINQ have a certain breadth? The simple answer: its spectrum...
    Posted to B# .NET Blog (Weblog) by bart on 03-28-2009
  • Help! Drowning in Expression Trees, What Now?

    Introduction Once more I found myself in LINQ providers land recently for a project yet unannounced. Given the relative poverty of the query language we’re targeting in that particular provider, a very common question came up: what about complex expressions in predicates? Let me give you an example:...
    Posted to B# .NET Blog (Weblog) by bart on 02-12-2009
  • LINQ and The Matrix – Introducing MLinq

    Today we’ll take a look at project “MLinq”, a very simple way to perform symbolic matrix calculations based on LINQ expression trees.   Introduction But first, why would you even want to do this? Let me tell you I’m a big believer of the power of mathematical notation. Say you’ve been asked to write...
    Posted to B# .NET Blog (Weblog) by bart on 02-10-2009
  • Dude, Where’s My LINQ DML?

    Introduction On last week’s TechEd EMEA Developers 2008 conference in Spain I redelivered my talk on writing custom LINQ providers, showing off implementations of LINQ to AD and LINQ to SharePoint. One of the questions I received afterwards went along the lines of this blog post’s title: “Dude, where...
    Posted to B# .NET Blog (Weblog) by bart on 11-22-2008
  • Introducing “The C# Ducktaper” – Bridging the dynamic world with the static world

    Why this is not a C# 4.0 blog post… By now most of you have probably heard about the dynamic capabilities that will be added to the C# 4.0 language. Search engines start to fill their databases with lots of descriptions of and discussions about the feature, but for now I won’t (yet) contribute to this...
    Posted to B# .NET Blog (Weblog) by bart on 11-10-2008
  • C# 4.0 Feature Focus - Part 3 - Intermezzo: LINQ's new Zip operator

    After named parameters and optional parameters , we'll take a little breadth and deviate a bit from the language specifics to present a new LINQ operator: Zip. Just like a zipper zips two streams of materials together, LINQ's Zip operator can zip together two sequences. Here's the signature...
    Posted to B# .NET Blog (Weblog) by bart on 11-03-2008
  • 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
Page 1 of 9 (82 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems