It is not often that I end up writing two back to back posts on Evil Code series, and that too on the same topic. But like I said in the previous post, Tuples are really an interesting topic (if you are reading Jon Skeet's book, then everything is interesting) In this post, we will explore a … Continue reading Evil Code #13 : Tuple Deconstruction Assignment
Tag: ValueTuple
Evil Code #12: Tuple Parameter – Overloads and Overrides
Tuples is an interesting subject to go back to due to certain peculiar qualities it possess. In this section, we would address some of them. To begin with, however, we will address how to tuples behave during method overloads - a pattern it share with rest of .Net. Consider the following code. public class Foo … Continue reading Evil Code #12: Tuple Parameter – Overloads and Overrides
Evil Code #011 : Tuples
It has been long since I wrote a post in Evil Code series. So here is a short one, using the Tuples which was introduced in C# 7.X. "introduced in C# 7.x" . You must be wondering why I used that phrase. Tuples was there before 7.x right ? Well, the answer is both yes and no. Tuples … Continue reading Evil Code #011 : Tuples