Object obj = new Foo(); That will. -- -Christopher | AspInsider http://chrisfrazier.net/blog
(\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Tubio Sent: Friday, May 25, 2007 4:25 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] static class interface >> Another short answer: classes aren't objects in .NET. >*Everything* is an object in .NET. But classes aren't, otherwise the following would compile. class Foo { } object obj = Foo; Regards, Fernando Tubio =================================== This list is hosted by DevelopMentor http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com