FixWins.com
Csharp
Contact Us
+Menu Coding examples
0
Coding examples
:
IList System.Collections.Generic Csharp code examples
Quick Sort IList
Swap value in IList
For fast enumerations, this must be a IList of ILists, not a IList of IEnumerables
IList Equal
IList Reference Equal
IList Equal with IEqualityComparer
Find Common Elements in IList
Maximums the specified list.
Minimums the specified list.
Return the position of the maximum in the list.
Return the position of the Minimum in the list.
Flats the specified list of list.
Sums the specified list.
Sorts an IList collections
Remove And Get from IList
Add First to IList
Shuffle element in IList
Subset from IList
Remove First from IList by condition
Shuffle IList
Return the enumerable as a IList of T, copying if required. Avoid mutating the return value.
Convert the enumerable to a Dictionary using the keySelector to extract keys from values and the specified comparer. Fast paths for array and IList of T.
Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input. No checking for other types.
Binary Search IList
Return the enumerable as a Collection of T, copying if required. Optimized for the common case where it is a Collection of T and avoiding a copy if it implements IList of T. Avoid mutating the return value.
Add item to IList If Not Exist
Convert DataTable To IList
Clone IList
Add element to Sorted IList
IList contains All elements from ICollection
remove value from IList
Create IList with one element
sort IList
tail Set IList
Insert Element to IList
Remove element from IList
Convert to IList
Reverse IList with while loop
N Copies element in IList
Remove Duplicates from IList by function
Select Distinct UnSorted from IList
Shuffle IList In Place
Shuffle IList To New List
Swap element in IList
Remove Items from IList
Is Valid Index in IList
Copy IList to another IList by index
IList To Comma String
Sorts the Ilist.
Executes a function on each item in ICollection and returns the results in a new IList.
Executes a function on each item in IList and returns the results in a new IList.
Add Distinct to IList
Adds the elements of the specified collection to the specified generic IList.
Add Range Distinct to IList
One IList Minus another IList
Count Of element in IList
Get Range from IList
Insert Range into IList
Remove Range from IList
IList To Read Only Collection
True For All element from IList
Returns a string representation of this IList.
Returns the index of sublist in the given IList.
Returns the index element of the specified IList.
Exchanges the items at index and in the specified IList.
Pop one element from IList
Remove an item by swapping it with the last item and removing it from the last position.
Helper function that swaps erasing element with the back element and then erases the back.
Last element Based On function
Add Range Distinct
Joins the specified items in IList.
Uses an insertion sort algorithm to perform a stable sort IList (keep the initial order of the keys with equal values).
Shuffles a list in O(n) time by using the Fisher-YatesKnuth algorithm.
Adds a range of items into the given list.
Add Range If Not In List
Compares two lists. Element order is important.
Compares two lists. Considers list equal if two lists contains the same elements, element order is ignored.
Reverts list.
Shuffle List Range
Adds an item to list if it is not already in the list. Deals with null IList
Removes all items from the System.Collections.IList. Deals with null IList
Finds the zero based index of an item, using the search predicate. If item not found, returns -1 Deals with null IList
Applies the action to every item in the list Deals with null IList
Determines the index of a specific item in the System.Collections.Generic.IList. Deals with null IList
Removes the first occurrence of a specific object from the System.Collections.IList. Deals with null IList
Removes all the items filtered by a predicate. Deals with null IList
Removes the last item of a IList. Deals with null IList
Sort Members List
Returns a list of primes, based on the Sieve of Eratosthenes
Coding examples
0
Custom Type System.Collections.Generic
access level
Anonymous Types
AppDomain
as
Assembly
Attribute
Box Unbox
class
Constant
Constructor
delegate
dynamic type
Enum
Event
Exception
Extension Methods
Field
Finalizer
Generics
Indexer
Inheritance
Inner Type
interface
is
Lambda
Local Method
Method
Method Parameter
nameof
namespace
Object Initializer
Operator Overloading
overload
Partial
Polymorphism
Property
read only
static
struct
this
try catch finally
0
Data Structure Algorithm System.Collections.Generic
Factorial
Search
Stack
Tree
0
Database System.Collections.Generic
Connection
LINQ Query
ODBC
SQL Command
0
File IO System.Collections.Generic
Binary File
Directory
File
File Command
FileStream
GZip
Path
Permission
Serialization
String Reader Writer
0
Language Basics System.Collections.Generic
Array
boolean
char
Console
continue
Data Type Cast
Data Type Format
Date Time
decimal
default
do while
double
Float
for
for each
goto
if
int
Null Operator
Nullable
Number
Operator
Preprocessor
Random
ref
Regex
string
StringBuilder
switch
Tuple
Variable
while
0
LINQ System.Collections.Generic
Group By
IEnumerable
Projection
Query Array
Select
where
0
Network System.Collections.Generic
IP Address
Network Interface
URL
Web
0
Operating System System.Collections.Generic
Diagnostics
Environment
Process
Windows
0
Reflection System.Collections.Generic
Attribute
Member
0
Security System.Collections.Generic
Hash
MD5
Password
0
System System.Collections.Generic
Array Compare
Array Convert
Array Create
Array Dimension
Array Element
Array Element Add
Array Enumerate
Array Equal
Array Find
Array Index
Array Null Element
Array Operation
Array Search
Array Shift
Array Shuffle
Array Slice
Array Sort
Array Split
Array String
Attribute
Bit
Boolean
Byte
Byte Array
Char
Char Unicode
Converter
DateTime Calculate
DateTime Compare
DateTime Convert
DateTime Day
DateTime Diff
DateTime Format
DateTime Hour
DateTime Local
DateTime Minute
DateTime Month
DateTime Parse
DateTime Quarter
DateTime Second
DateTime Time
DateTime Timestamp
DateTime Timezone
DateTime Unix
DateTime UTC
DateTime Week
DateTime Year
DateTimeOffset
Decimal
Double
Enum
Exception
Hash
Hex
IComparable
Int32
Int64
Math Convert
Math Easing Function
Math Geometry
Math Number
Math Statistics
Math Vector
Nullable
Object
Random
String Algorithm
String ASCII
String Base
String Base32
String Base64
String Case
String Contain
String Convert
String Encode Decode
String Endian
String Escape
String Format
String HTML
String Join
String Match
String New Line
String Number
String Padding
String Parse
String Quote
String Repeat
String Replace
String Reverse
String Search
String Shorten
String Split
String Start End
String Strip
String SubString
TimeSpan
Tuple
Type
0
System.Collections System.Collections.Generic
ICollection
IDictionary
IEnumerable
0
System.Collections.Generic System.Collections.Generic
ICollection
IDictionary
IEnumerable
IList
ISet
List
0
System.Data System.Collections.Generic
DataTable
0
System.Drawing System.Collections.Generic
Color
Color Brightness
Color Calculation
Color Convert
Color HSV
Color RGB
Graphics
Image Convert
Image Effect
Image Operation
Image Size
JPEG
0
System.Drawing.Imaging System.Collections.Generic
Bitmap
0
System.Globalization System.Collections.Generic
Chinese
English
0
System.IO System.Collections.Generic
BinaryWriter
CSV File
DirectoryInfo
File Copy
File Name
File Path
File Size
File Time
FileStream
Hex
MemoryStream
Stream
StreamWriter
0
System.Net System.Collections.Generic
IP Address
0
System.Reflection System.Collections.Generic
Attribute
Constructor
ConstructorInfo
Enum
FieldInfo
Interface
Member
MethodInfo
Modifier
PropertyInfo
0
System.Security.Cryptography System.Collections.Generic
ASN
Certificate
CRC
DES
Encrypt Decrypt
Hash
HMACMD5
MD5
Password
SHA1
0
System.Text.RegularExpressions System.Collections.Generic
Match Number
Match String
0
System.Windows.Forms System.Collections.Generic
Dialog
0
System.Windows.Media.Imaging System.Collections.Generic
BitmapSource
0
System.Xml System.Collections.Generic
XML Attribute
XML Child
XML DataSet
XML Document
XML Element
XML File
XML Format
XML Namespace
XML Node
XML Reader
XML Schema
XML Serialization
XML String
XML Writer
0
Thread Asynchronous System.Collections.Generic
Mutex
Parallel
Producer Consumer
Synchronize
0
XML System.Collections.Generic
XML Document
XML LINQ
XML Serialization