ilist
error: Object reference not initialised
I have the following code in C#: IList<string> myList = null; myList.Add(temp); temp is a string that is decalred elsewhere and is not null (I checked it). I keep getting the following error at t[详细]
2023-01-21 17:49 分类:问答How to remove an IList<Class> value using dictionary key
For example I have a class named Temp then I assigned values to it using an IList<Temp>. After populating the IList<Temp> I created a dictionary and assign an int key to each object.[详细]
2023-01-19 22:42 分类:问答How Do I Sort IList<Class>?
There\'s no Sort() function for IList. Can someoene开发者_开发问答 help me with this? I want to sort my own IList.[详细]
2023-01-18 22:38 分类:问答Storing complex data in a list
I\'m working with a product called SiteFinity. I have a class which looks like so: public class Categories[详细]
2023-01-17 13:49 分类:问答Using LINQ-to-NHibernate Sort an IQueryable of T based on a property value within T's Children
Though the project in which I\'m having this issue addresses a different domain, I\'ve found a metaphor that may help to present my question clearly:[详细]
2023-01-16 21:41 分类:问答Class that implements an interface with IList of another interface property...how to?
I have two interfaces like these: public interface IMyInterface1 { string prop1 { get; set; } string prop2 { get; set; }[详细]
2023-01-16 00:43 分类:问答Remove foreach - c# code-optimization
How to optimize this code? ParentDoglist, ChildDoglistis - Ilist. dogListBox - List Box foreach (Dog ParentDog in ParentDoglist)[详细]
2023-01-14 12:21 分类:问答IList<T> does not have "where"
In a specific project at my work, I have a method that returns IList. But this interface does not contain where, or FindAll filters. However, when I open a new project, IList contains all. What is the[详细]
2023-01-08 18:27 分类:问答What should I use an IEnumerable or IList? [duplicate]
This question already has answers here: IList vs IEnumerable for Collections on Entities (2 answers) 开发者_StackOverflow社区[详细]
2023-01-06 16:18 分类:问答Creating a class field of type IList<>?
I\'m trying to create a POCO obje开发者_Python百科ct called Friend.cs. I can\'t seem to create inline properties for the IList.[详细]
2023-01-06 16:17 分类:问答