tagged [list]

Converting from IEnumerable to List

Converting from IEnumerable to List I want to convert from `IEnumerable` to `List`. How can I do this?

18 Aug at 21:49

How can I efficiently remove elements by index from a very large list?

How can I efficiently remove elements by index from a very large list? I have a very large list of integers (about 2 billion elements) and a list with indices (couple thousand elements) at which I nee...

24 Aug at 18:21

What's the difference between lists and tuples?

What's the difference between lists and tuples? What's the difference between tuples/lists and what are their advantages/disadvantages?

9 Apr at 10:57

How to save a list as numpy array in python?

How to save a list as numpy array in python? Is possible to construct a NumPy array from a python list?

4 Sep at 07:28

Is List a value type or a reference type?

Is List a value type or a reference type? Is `List` a value type or a reference type?

11 Apr at 20:58

Remove duplicates from a List<T> in C#

Remove duplicates from a List in C# Anyone have a quick method for de-duplicating a generic List in C#?

9 Feb at 23:15

Concatenate all list content in one string in C#

Concatenate all list content in one string in C# How do I concatenate all content of a list in one string in C#?

22 Nov at 03:19

how to get byte size of type in generic list?

how to get byte size of type in generic list? I have this generic list and I want to get the byte size of the type like if T is string or int etc., I tried both ways as written in getByteSize(), and j...

31 Aug at 10:56

Removing duplicates in lists

Removing duplicates in lists How can I check if a list has any duplicates and return a new list without duplicates?

convert .NET generic List to F# list

convert .NET generic List to F# list Is there a built-in method to convert the .NET List into the F# list?

23 Jun at 20:14

Access List from another class

Access List from another class can anyone tell me how to create a list in one class and access it from another?

15 Sep at 11:9

How do I check if a list is empty?

How do I check if a list is empty? For example, if passed the following: How do I check to see if `a` is empty?

18 Nov at 11:13

How to make a new List in Java

How to make a new List in Java We create a `Set` as: How do we create a `List` in Java?

5 Oct at 09:57

How do I declare an array in Python?

How do I declare an array in Python? How do I declare an array in [Python](http://en.wikipedia.org/wiki/Python_%28programming_language%29)?

23 Aug at 07:15

Declaring a List of types

Declaring a List of types I want to declare a list containing types basically: is this possible?

23 Oct at 20:28

Binding Listbox to List<object> in WinForms

Binding Listbox to List in WinForms What's the simplest way to bind a Listbox to a List of objects in Windows Forms?

11 Dec at 23:12

Convert all strings in a list to integers

Convert all strings in a list to integers How do I convert all strings in a list to integers?

22 Feb at 07:25

Array versus List<T>: When to use which?

Array versus List: When to use which? What are the scenarios when one is preferable over the other? And why?

10 Nov at 21:4

How do I remove the first item from a list?

How do I remove the first item from a list? How do I remove the first item from a list?

10 Apr at 13:13

How can I order a List<string>?

How can I order a List? I have this `List`: How can I order it alphabetically and ascending?

25 Jan at 03:12

Is the LinkedList in .NET a circular linked list?

Is the LinkedList in .NET a circular linked list? I need a circular linked list, so I am wondering if `LinkedList` is a circular linked list?

8 Jul at 04:32

equivalent of vbCrLf in c#

equivalent of vbCrLf in c# I have a to do this: In c# AccountList is a string. How can i do? thanks

22 Mar at 23:17

Why does IList<> have fewer features than List<>?

Why does IList have fewer features than List? Why do I have to convert `IList` to `List` to use such great function as `ConvertAll()`,

2 May at 02:30

How do I truncate a list in C#?

How do I truncate a list in C#? I know in python you can do something like `myList[1:20]` but is there anything similar in C#?

18 Oct at 07:47

Difference between list.First(), list.ElementAt(0) and list[0]?

Difference between list.First(), list.ElementAt(0) and list[0]? As per the title... Is there any real difference between list.First(), list.ElementAt(0) and list[0]?

29 May at 01:46