You did it!

As many of you may know, we recently announced a pretty big change to the C# 2.0 language.  The full details of the change can be found at Soma’s blog but i’ll include the information here. We designed the Nullable type to be the platform solution, a single type that all applications can rely on to…

30

Heads, or Tails?

Here’s a nifty little problem that a friend gave me yesterday that i thought i’d share with you: You have three items (call them ‘a’, ‘b’ and ‘c’) that you want to choose any one from without bias.  If you had a fair three sided die, you could assign an item to each side of…

149

Pop Quiz!

Ok class.  Get out your pencils for another pop quiz.  Without using anything beyond your mind, answer the following question: Consider the following code: public class A<T1>{ public T1 a; public class B<T2> : A<T2> { public T1 b; public class C<T3> : B<T3> { public T1 c; } }} class PopQuiz{ static void Main()…

31