Re: Override static derived variable
- From: "Chad Z. Hower aka Kudzu" <cpub@xxxxxxxxx>
- Date: Sun, 19 Jun 2005 18:53:11 +0300
"Joanna Carter \(TeamB\)" <joannac@xxxxxxxxxxxxxxx> wrote in
news:uFep1WOdFHA.3828@xxxxxxxxxxxxxxxxxxxx:
> But this doesn't work either as it appears that the only static
> constructor to be called in class A is X().
>
> I must admit that this is not as I would have expected. Does anyone
> know if this is a bug in beta 1 ?
What code are you using to instantiate them? Statics in .NET are not at all like in Delphi, and Im
constantly hitting roadblocks here. I understand why they did it the way they did, and it has some
advantages but its requires some royal work arounds sometimes.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
.
- Follow-Ups:
- Re: Override static derived variable
- From: Joanna Carter \(TeamB\)
- Re: Override static derived variable
- References:
- Override static derived variable
- From: knocte
- Re: Override static derived variable
- From: Joanna Carter \(TeamB\)
- Override static derived variable
- Prev by Date: Re: Override static derived variable
- Next by Date: Re: Override static derived variable
- Previous by thread: Re: Override static derived variable
- Next by thread: Re: Override static derived variable
- Index(es):
Relevant Pages
|
Loading