Joseph A. Marrero wrote:
> Semantically, there is no difference. However, I tend to
> avoid anonymous structures because of how some IDEs display
> them. In Visual Studio 6 (maybe in .Net 2005 as well), the
> intellisense gives a random name to the structure in the
> class view. If you get your hands on the Quake 1 source,
> and open it up in VS6 you will see how unpleasant such
> anonymous structures can be. Because I tended to avoid
> anonymous structures because of this, I am not sure if this
> still occurs in .Net. Most likely, it will. 

Yup.  That happens.  Even with Visual Assist X.
Actually, I'm pretty certain the name isn't really random.  It should be 
the same name the compiler will generate.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* VerifyMyPC 2.0
Change tracking and management tool.
Reduce tech. support times from 2 hours to 5 minutes.

Free for personal use, $10 otherwise.
http://www.CubicleSoft.com/VerifyMyPC/

Reply via email to