-
Recent Posts
Archives
Categories
Tag Archives: C#
Pattern matching in C# – part 4 – more tuples
DISCLAIMER: this post has been written months ago and never posted. By that time I was still trying to bring F# goodness to C#. This might be easier today with Roslyn, but that is not the path I’ve taken. Since … Continue reading
Pattern matching in C# – part 3 – tuples
Hello again, you potential RSS subscriber (probably still reading this in Google Reader, trying to determine which reader you’ll choose next) ! Last time I left you with a working pattern-matching mechanism in C#, but very limited… as it could … Continue reading
Pattern matching in C# – part 2
Last time, I just stopped before generating any real expression tree… Now is the perfect time to continue the process ! In order to handle match expressions where none of the expressions would match a given candidate, I decided to … Continue reading
Pattern matching in C# – part 1
In my previous post, I tried to explain what pattern matching is, and in particular the F# match expression, that I’m trying to mimic in C#. For my first attempt, I’ll try to analyse the matching cases that can apply … Continue reading
Pattern matching in C# – introduction
Although bringing real pattern matching to C# in not my objective, I’ve tackled yet another syntax puzzle, trying to build a “sort-of” F#-ish pattern-matching-like syntax. Disclaimer : as you can see from the quotes and italic, don’t expect me to … Continue reading