Re: c# static constructor?
- From: "ms news group" <noret@xxxxxxxxx>
- Date: Sat, 5 May 2007 13:19:46 +0800
Ok, my fault. The code must be compiled in release version and run outside
IDE in order to show the effect. That ariticle did not mention this, I just
googled the article, and found another link that added this little detail.
"Oliver Sturm [MVP C#]" <oliver@xxxxxxxxxxxx> wrote in message
news:lgqbr6oa3d1f$.dlg@xxxxxxxxxxxxxxx
Hi,
ms news group wrote:
I am not misunderstanding the article, and the code example given is too
simple for me to reproduce with any difference.
Well, there's obviously the third option that the article is wrong. If you
post a link to the article, maybe somebody can give you his opinion about
this.
Oliver Sturm
--
http://www.sturmnet.org/blog - MVP C#
.
- Follow-Ups:
- Re: c# static constructor?
- From: Jon Skeet [C# MVP]
- Re: c# static constructor?
- References:
- c# static constructor?
- From: ms news group
- Re: c# static constructor?
- From: Oliver Sturm [MVP C#]
- Re: c# static constructor?
- From: ms news group
- Re: c# static constructor?
- From: Oliver Sturm [MVP C#]
- c# static constructor?
- Prev by Date: Re: c# static constructor?
- Next by Date: Re: c# static constructor?
- Previous by thread: Re: c# static constructor?
- Next by thread: Re: c# static constructor?
- Index(es):
Relevant Pages
|
Loading