Re: one line struct initialization
- From: "Zytan" <zytanlithium@xxxxxxxxx>
- Date: 7 Mar 2007 13:06:06 -0800
What goes in the dots.
struct abc { int x; double y; AnotherStruct s; };
abc y = { 100, 3.14, ??? };
It works up until the ???, since it's a struct. I don't know what to
put there.
Zytan
.
- Follow-Ups:
- Re: one line struct initialization
- From: Jon Skeet [C# MVP]
- Re: one line struct initialization
- References:
- one line struct initialization
- From: Zytan
- Re: one line struct initialization
- From: Chris Nahr
- Re: one line struct initialization
- From: Zytan
- Re: one line struct initialization
- From: Zytan
- Re: one line struct initialization
- From: Mark Wilden
- one line struct initialization
- Prev by Date: Re: Error in decimal divide in "?:" operator
- Next by Date: Array index
- Previous by thread: Re: one line struct initialization
- Next by thread: Re: one line struct initialization
- Index(es):