Summary
Inserts a new value into a sorted list.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- WeaverUtilities
Syntax
public static void InsertSorted<T>(List<T> list, T item, IComparer<T> comparer)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| list | List |
|
| item | T | |
| comparer | IComparer |
Return Value
| Type | Description |
|---|---|
| void |