This is an anonymous type that defeats the target. These objects are intended for temporary use. Hell, properties are even read-only.
Sorry, I'm a smart ass. The answer is no, there is no way to tell the compiler which name to use for the anonymous type.
In fact, the type names generated by the compiler use illegal characters in their name so that you can not run into names in your application.
Chris Apr 27 '09 at 13:12 2009-04-27 13:12
source share