Re: Override static derived variable
- From: "Chad Z. Hower aka Kudzu" <cpub@xxxxxxxxx>
- Date: Sun, 19 Jun 2005 18:49:20 +0300
knocte <knocte@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in news:d93v33$skl$1@nsnmrro2-
gest.nuria.telefonica-data.net:
> I have a problem with C# language. I want to define an algorithm on a
> static function inside an abstract class. This function calls a static
> variable inside the same class. Then I want to define some derived
> classes wich inherit the function and override the variable, but it
> doesn't work.
You cannnot override statics in C#, or in fact in .NET. In Delphi.NET you can, but they are done using
some magic to preserve compatibilty and dont export as normal statics for other languages.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
.
- References:
- Override static derived variable
- From: knocte
- Override static derived variable
- Prev by Date: Re: show description?
- Next by Date: Re: Override static derived variable
- Previous by thread: Re: Override static derived variable
- Next by thread: attribute??
- Index(es):