Browse by Tags
All Tags »
2 ⅛s (
RSS)
(I’ve returned from my trip a few months ago, but didn’t have enough to blog about; hopefully, this is my returning to a semi-regular posting schedule; also, I’ve decided to veer off .NET in some of my posts, focusing on more issues that I like to talk about and offer my opinions on) ( Update : This...
I just love the fact that there's a "Community Content" section to the MSDN documentation. I just found out that there's an undocumented exception coming from the System.Net.Mail.MailMessage.Subject property, I browsed to the relevant MSDN page and simply added a line saying so . It's...
[ Caveat : This is constructive criticism about XAML and the current version of WPF. They both have their strengths and things I love about them and they both may become better over time, but this is about what we have today.] After Tomer published his list of 10 Reasons to Love XAML , I wrote a long...
Version 1.0 of the .NET Framework introduced System.Drawing.Region 's Union method , designed to union two regions or several other types into a region. A bug, first reported in 2001, caused unexpected behavior. The method's output was determined as unreliable. Version 1.1 went past and the bug was not...
As much as I love the idea behind extension methods , I can't help but start to think about how it could be used for malicious purposes. Take this scenario: You're a disgruntled employee of Evil Inc., the makers of the well known library VeryUsefulAssemblies.NET. I'm a developer at Good & co., using...
The example of anonymous types from the C# 3.0 specification document is as follows: class __Anonymous1 { private T1 f1 ; private T2 f2 ; // … private Tn fn ; public T1 p1 { get { return f1 ; } set { f1 = value ; } } public T2 p2 { get { return f2 ; } set { f2 = value ; } } // … public Tn pn { get {...
After a few hours of working with Office 2007's Outlook, PowerPoint and Word (I have yet to find a reason to open Excel), I have come to a very disturbing realization about the new Ribbon interface. Let's start from the beginning: The new interface shows a host of buttons for common actions, according...
Now that I have the time for it, I'm going through a lot of material I've been collecting in my To Read folder over the past year or so. One of the videos I watched is Mike Barnett's talk about Spec# at the recent Lang.NET Symposium . What Spec# does, in a few words, is to add contracts to your code...