It's available today at this general location . Jason Zander has an announcement post here .Downloading and installing now!...
Continue reading "Visual Studio 2010 SP1 Available"
It's available today at this general location . Jason Zander has an announcement post here .Downloading and installing now!...
Continue reading "Visual Studio 2010 SP1 Available"
This is part of a series . To add to 3.5's new HashSet<T>, there is now SortedSet<T> new in 4.0. Both have the following distinguishing features: Their Contains methods execute quickly using a hash-based lookup They do not store duplicate elements and silently ignore requests to add duplicates...
Continue reading "C# 4.0/BCL 4 Series:SortedSet<T> in Framework 4"
This is part of a series . Last time I started talking about the new dynamic type in C# 4, I covered why they were introduced to the language (scenarios), then some deep discussion of how they are implemented with the DLR, call-sites, and bindings, how internally they are represented as System.Object...
Continue reading "C# 4.0/BCL 4 Series:Dynamic Primitive Type Part 2"
This is part of a series . I really should have combined Named Parameters when I wrote about Optional Parameters last time since they are similar and go well together. Again, nothing thrilling here to speak about in C# 4 (especially since VB has had these forever) but they do address some hardships in...
Continue reading "C# 4.0/BCL 4 Series: C# 4 Named Parameters"
This is part of a series . C# 4 allows you to declare optional parameters in methods, constructors, and indexers. A parameter is optional if it specifies a default value in its declaration: void Foo(int x = 42) { Console.WriteLine(x); } Optional parameters may be omitted when calling the method: Foo...
Continue reading "C# 4.0/BCL 4 Series: C# 4 Optional Parameters"
This is part of a series . I have to admit. I am non-excited about C# 4 features, including the dynamic type. While C# 3, introduced many neccessaary features, especially for LINQ, but very useful in their own right, C# 4 seems more like a solution looking for a problem. IMHO, it seems like the language...
Continue reading "C# 4.0/BCL 4 Series:Dynamic Primitive Type Part 1"
This is part of a series . Note: This material is from C# 4.0 In A Nutshell Page 239. Like BigInteger, the Complex struct is another specialized numeric type new to Framework 4.0 and is for representing complex numbers with real and imaginary components of type double. It also lives in the System.Numerics...
Continue reading "C# 4.0/BCL 4 Series: Complex numeric type"
This is part of a series . Another new type in Framework 4.0 os the BigInteger specialized numeric type. It lives in the new System.Numerics namespace and lets you represent an arbitrarily large integer without any loss of precision, Since C# does not provide native support for BigInteger, there's no...
Continue reading "C# 4.0/BCL 4 Series: BigInteger"
Might as well make this a series. I mentioned in the first post , "I have been spending quite a bit of time re-focusing and reviewing C# (and some BCL) fundamentals, with an eye to what's different in C# 4.0/BCL 4.0. The reason for this, is though C# 1.0 was so simple in it's day that it only required...
Continue reading "C# 4.0/BCL 4: What's New Series"
I mentioned, in my last post, that I was using C# 4.0 In A Nutshell to better my C# 3 and to come up to speed with C# 4/BCL 4. Another cool thing in Framework 4.0 is the generic set of classes for holding a set of differently typed objects called tuples. Like the Func<> and Action<> delegates...
Continue reading "C# 4.0/BCL 4 Series: System.Tuple"