Re: initializer for array of struct
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Fri, 27 May 2005 17:29:46 +0100
ChrisA <ChrisA@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Thanks. I don't know why I didn't try that. I'm used to the fairly flexible
> initialization syntax from C/C++. I think I was expecting that there would
> be a way to initialize each without allocating off the heap.
Well, if it weren't in an array, it still wouldn't be allocating on the
heap. "new" doesn't imply "heap" in C#.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.
- References:
- initializer for array of struct
- From: ChrisA
- Re: initializer for array of struct
- From: Jon Skeet [C# MVP]
- Re: initializer for array of struct
- From: ChrisA
- initializer for array of struct
- Prev by Date: Re: keyword this
- Next by Date: Re: Using statements swallowing exceptions
- Previous by thread: Re: initializer for array of struct
- Next by thread: Testing that a sql server is running
- Index(es):
Relevant Pages
|