C# Corner

Related resources for c-sharp list
  • Top 10 C# List Code Examples9/18/2019 6:33:10 PM. Here is a list of common C# List collection questions and code examples.
  • Remove Item at a specified position in a C# List8/12/2019 11:25:03 PM. List<T> provides RemoveAt() method to remote items at a specified position. Code examples in this article removes an item at a specified position using C# and .NET.
  • ListView in C#7/18/2019 9:50:19 PM. The ListView in C# provides an interface to display a list of items using different views including text, small images, and large images. In this tutorial, we will learn how to work with the Windows F
  • ListBox in C#7/18/2019 9:47:10 PM. In this tutorial, we will learn how to create a C# ListBox control at design-time as well as at run-time. We will also see how to create a multiple-column ListBox control with single and multiple sele
  • How To Find An Item In C# List6/3/2019 4:30:49 PM. C# List Find. Check if an item is in the C# list or not. The Contains method checks if the specified item already exists in the C# List.
  • How To Create A List Of Objects In C#3/26/2019 3:56:56 AM. A list is a collection of items that can be accessed by index and provides functionality to search, sort and manipulate list items. Here we see how to create a list of objects with C#.
  • ListBox In WPF3/17/2019 10:08:17 AM. WPF ListBox class represents a ListBox control that is a collection of ListBoxItems. The <ListBox> XAML represents the UI of a ListBox. This tutorial and code examples are the various use cases
  • How To Create A List In C#1/13/2019 11:28:31 PM. A list is a collection of items that can be accessed by index and provides functionality to search, sort and manipulate list items. Here we see how to create a list in c#.
  • How To Get And Set Size Of A C# List12/20/2018 11:42:55 PM. How to get and set size of a List using C#. The Capacity property gets and sets the number of items a c# list can hold without resizing. C# List Capacity is always greater than or equal to the Count v
  • How To Get All Items In A C# List12/20/2018 11:37:43 PM. How to read a list items using C#. The List<T> is a collection. We can use the foreach loop to go through all the items and read them.
  • How To Count Number Of Items In A C# List12/19/2018 10:43:04 PM. How to get number of items in a List with C#. C# List<T> class provides methods and properties to create a list of objects (classes).
  • How to Add Items to a C# List11/15/2018 3:50:24 AM. C# List<T> class represents a collection of a type in C#. The code examples in this article demonstrate how to use List.Add() and List.AddRange() to add items to a List<T> in C# and .NET.
  • How To Copy A C# List10/8/2018 3:29:54 AM. The CopyTo method copies a List into a one-dimensional array.
  • How To Get And Set An Item In A C# List10/8/2018 3:22:49 AM. How to get and set an item of a List in C#. The Item property gets and sets the value associated with the specified index.
  • How To Get Last Index Of An Item In A C# List10/8/2018 1:56:10 AM. The LastIndexOf method returns the last index of an item if found in the List.
  • How To Get Index Of An Item In A C# List10/8/2018 1:36:25 AM. The IndexOf method returns the first index of an item if found in the List.
  • How to reverse a C# List10/7/2018 2:25:17 AM. List.Reverse() method of List<T> reverses the order all items in in the List. The code example shows how to reverse a List<T> using C#.
  • How to search an item in a C# List10/7/2018 2:20:31 AM. List.BinarySearch() method searches a List of collection using binary search algorithm. The code example shows how to search a list items using C#.
  • How to sort a C# List Items10/7/2018 1:13:57 AM. How to sort items in a List with C# using List.Sort() method.
  • How to Delete All Items Of A C# List10/7/2018 12:47:45 AM. C# List<T> class provides methods and properties to create a list of objects (classes). List.Remove(), List.RemoveAt(), and List.Clear() methods are used to delete items of a List in C#.
  • How to Remove C# List Items10/7/2018 12:30:58 AM. The List<T> class in C# and .NET represents a strongly typed list of objects. List.Remove() and List.RemoveAt() methods with List.Clear() method can be used to remove items of a List<T> in
  • How to Insert an Item into a C# List10/7/2018 12:25:04 AM. C# List<T> class represents a collection of a type in C#. List.Add(), List.AddRange(), List.Insert(), and List.InsertRange() methods are used to add and insert items to a List<T>. The cod
  • Basic Introduction To List In C#10/4/2018 10:32:12 AM. List in C# allows you to manage a collection of items. This is a basic introduction to List and how to add items to it using C# language.
  • Add Some Elegance To Your Code Using C# List9/17/2018 12:07:01 AM. A short and to-the-point tutorial that demonstrates how to sort and search using List in C#.
  • List in C#2/25/2015 9:10:22 PM. In this article we will learn about another generic class present in the System.Collection.Generic namespace, List<T>.
  • Sorting List of Complex Types in C#6/23/2014 6:18:45 PM. This article is related to sorting of lists in C# containing complex objects.