Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com

Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com
The following C# line to call AutoFixture method
fixture.Create<List<List<FlightItem>>();
Caused Error     63     'System.Collections.Generic.List<System.Collections.Generic.List<BusinessEntities.FlightItem>>' is a 'type' but is used like a 'variable'     
It wasn't obvious, that closing '>' was missing.
 I believe  that compiler can recognize and provide better error message.
Posted on Sunday, August 11, 2013 2:45 PM None | Back to top


Comments on this post: Misleading compiler error "is a 'type' but is used like a 'variable'"

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net