Feeds:
Posts
Comments

Archive for May 27th, 2005

In my previous post on Generics, I received a comment from Eddie, who was asking why developers would want to use the following constraint, in the example below, when he would pass the parameters as IComparable interface types. public static bool IsLessThan(T one, T two) where T:IComparable { return one.CompareTo(two) < 0; } public static [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.