.Net Meanderings

Richard Blewett's wanderings around .NET

Please read my disclaimer. Subscribe to my RSS feed

Is this the most evil base class in the world?

In answering a question on the Microsoft C# newsgroup I think I may have come up with the most evil base class in the world

class EvilBaseClass 
{ 
  public new virtual string ToString() 
  {
    return string.Empty;
  }
}
		

11/19/2004 8:21 PM | Comments [32] | #.NET

Content © 2003 Richard Blewett | Subscribe to my RSS feed.

Powered by BlogX