Top "Ilist" questions

The list tag may refer to: a linked list (an ordered set of nodes, each referencing its successor), or a form of dynamic array.

C# Syntax - Split String into Array by Comma, Convert To Generic List, and Reverse Order

What is the correct syntax for this: IList<string> names = "Tom,Scott,Bob".Split(',').ToList<…

c# generics syntax ilist
How do I get all the values of a Dictionary<TKey, TValue> as an IList<TValue>?

I have a the following dictionary: IDictionary<int, IList<MyClass>> myDictionary and I am wanting to …

c# .net-3.5 dictionary ilist
IList vs IEnumerable for Collections on Entities

When I have entities in my domain with lists of things, should they be exposed as ILists or IEnumerables? E.…

collections ienumerable ilist
What should I use an IEnumerable or IList?

Can anyone tell me when I should use either. For example, I think I should use an IList when I …

c# ienumerable ilist
Why array implements IList?

See the definition of System.Array class public abstract class Array : IList, ... Theoretically, I should be able to write this …

c# arrays ilist liskov-substitution-principle
Custom Collection using IEnumerable vs ICollection vs IList

I need to design my own custom GenericCollection class. Now i have plenty of options to derive it using IEnumerable, …

c# ienumerable ilist icollection custom-collection
Difference between IEnumerable and IEnumerable<T>?

What is the difference between IEnumerable and IEnumerable<T>? I've seen many framework classes implementing both these interfaces, …

c# ienumerable generics ilist icollection
C# - Dictionary<key, value> to List<T>

I want to map my Dictionary<int, string> to a List<Customer> where Customer has two …

c# ilist idictionary
Return ReadOnlyCollection from IList<>

OK, so List<> contains the AsReadOnly() which gives you the ReadOnlyCollection. What I need is to have a …

c# .net nhibernate ilist readonly-collection
Best string container: StringCollection, Collection<string>, List<string>, ArrayList, ..?

What is the most suitable container just for strings holding in some array with non-predetermined upper boundary, which length is …

.net list collections containers ilist