The difference between new and override

Let's say you have a base class with a single method on it public class BaseClass { public new void SomeMethod() { Console.WriteLine("Called BaseClass.SomeMethod"); } } Now »

Gotchas with lazy evaluation

Lazy evaluation can be a really useful thing.  It means that code won't get executed unless it actually needs to be.  So in other words you »