Re: constructors/default values

Peter Osucha <[email protected]> Tue, 2 Jan 2007 11:13:03 -0500
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
Thanks Adam.  The Google links provide some additional good information.

peter


> -----Original Message-----
> From: Discussion relating to the specifics of the C# and
> Managed C++ languages [mailto:[email protected]]
> On Behalf Of Adam Sills
> Sent: Tuesday, January 02, 2007 10:43 AM
> To: [email protected]
> Subject: Re: [DOTNET-CX] constructors/default values
>
> The variable declaration line assignment occurs before the
> constructor does.
> There's no significant difference in an instance
> variable/ctor. Only static fields/constructors have any real
> problem (google for beforeFieldInit).
>
> Adam..
>
> -----Original Message-----
> From: Discussion relating to the specifics of the C# and
> Managed C++ languages [mailto:[email protected]]
> On Behalf Of Peter Osucha
> Sent: Tuesday, January 02, 2007 9:12 AM
> To: [email protected]
> Subject: [DOTNET-CX] constructors/default values
>
> What is the difference (practically) in assigning a variable
> value in the variable declaration line and in the constructor?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com