Re: How To Force Static Method Implementation
From: Tor Bådshaug (TorBdshaug_at_discussions.microsoft.com)
Date: 02/15/05
- Next message: Jonny P.: "Re: Someone can check if my application installs?"
- Previous message: Frans Bouma [C# MVP]: "Re: MS SQL Server OLAP data access with oledb"
- In reply to: Jeff Louie: "Re: How To Force Static Method Implementation"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 01:27:02 -0800
> ..... If each derived class defines an implementation of the base
> class static method then there would be one or more implementations of the
> single method in the base class. There would be no way for the runtime to
> decide which single implementation to call at runtime.
There is no polymorhism with "overridden" static methods. Consequently, the
single impl to call is not resolved at runtime but compile time rather.
Tor Bådshaug
tor.badshaug (at) bekk.no.
- Next message: Jonny P.: "Re: Someone can check if my application installs?"
- Previous message: Frans Bouma [C# MVP]: "Re: MS SQL Server OLAP data access with oledb"
- In reply to: Jeff Louie: "Re: How To Force Static Method Implementation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|