Re: default-values to class members



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
.



Relevant Pages