wood burning stoves 2.0
The moose likes Other Languages and the fly likes C# Generic Collection - List<object> vs List<string> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Other Languages
Bookmark "C# Generic Collection - List&lt;object&gt; vs List&lt;string&gt;" Watch "C# Generic Collection - List&lt;object&gt; vs List&lt;string&gt;" New topic
Author

C# Generic Collection - List&lt;object&gt; vs List&lt;string&gt;

Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107


In C#, Above code is producing compile error:



In java, similar code is compiled without error



Am I doing something wrong with C# generic collections?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: C# Generic Collection - List&lt;object&gt; vs List&lt;string&gt;
 
It's not a secret anymore!