Re: default-values to class members
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 28 Jan 2007 17:11:13 -0500
Joel wrote:
Locations in memory always has a value.
There are only a couple possibilities:
* the language/framework does not init so they
keep their values from last usage
* the language/framework does init
.NET init so they become 0, 0.0, null etc..
That's very obvious, but I'm looking for exact behavior of the default constructor generated by the csharp compiler.
It has nothing to do with default constructor.
If you know C then the memory is allocated
with calloc not malloc.
Arne
.
- Follow-Ups:
- Re: default-values to class members
- From: Joel
- Re: default-values to class members
- References:
- default-values to class members
- From: Joel
- Re: default-values to class members
- From: Arne Vajhøj
- Re: default-values to class members
- From: Joel
- default-values to class members
- Prev by Date: Re: Creating ActiveX controls to be used by VB 6.0 programs
- Next by Date: Re: Using SAPI from C#?
- Previous by thread: Re: default-values to class members
- Next by thread: Re: default-values to class members
- Index(es):
Relevant Pages
|