WeaverUtilities.

SetCount<T>(List<T>, int) Method

Summary

Adds or removes items to bring the System.Collections.Generic.List`1.Count equal to the specified `count`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static void SetCount<T>(List<T> list, int count)

Type Parameters

Name Description
T

Parameters

Name Type Description
list List<T>
count int

Return Value

Type Description
void