If a method takes a parameter of type System.Collections.IList can I legitimately/safely pass a v开发者_C百科alue of type System.Collections.Generic.IEnumerable<T>?
I am try to convert the following NHibernate query using dyanmic instantiation into an IList<t> rather than an IList.
I am building a large, multi-area MVC project.(MVC 2 Beta). I have a session wrapper class, in its own project, MySession, that looks like this:
I\'ve got another simple one (I think) that\'s stumping me. I have written a method in one of my controls that gets the latest version of a file in a CMS given it\'s filename (i.e. regardless of what
EDIT: From the answers given, it\'s been made rather clear to me how the design I\'m asking about below should actually be implemented. With those suggestions in mind (and in response to a comment po
Is there a limit of elements that could be stored in a 开发者_StackOverflow社区List ? or you can just keeping adding elements untill you are out of memory ?The current implementation of List<T>
I\'m trying to deserialize json to an object model where the collections are represented as IList<T> types.