Re: Virtual static methods?
From: Jesse McGrew (jmcgrew_at_hanshorseprestigepelican.com.remove.animals)
Date: 07/16/04
- Next message: Mark: "Copying files using process class in ASP.NET"
- Previous message: Dan: "Windows Service Threading"
- In reply to: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Virtual static methods?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 15 Jul 2004 19:51:25 -0700
Stoitcho Goutsev (100) [C# MVP] wrote:
> Hi Pavlis,
>
> This has been discussed in this ng several times. You can search google for
> those discusion.
> Anyways in order polymorphism to work you have to have isntance to an
> object. With static method you don't have. This is platform issue. Some
> languages (such as Delphi I believe) can do that because for each type there
> meta type and there is single instance of it. .NET Type objects are not the
> same
>
Delphi for .NET supports virtual class methods and metaclasses, but they
are implemented by the compiler with nested classes and other sneaky tricks.
Jesse
- Next message: Mark: "Copying files using process class in ASP.NET"
- Previous message: Dan: "Windows Service Threading"
- In reply to: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Virtual static methods?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|