Extensions.ToSimpleCollection<TSource> Method

Converts to simplecollection.

Namespace: Gamanet.C4.SimpleInterfaces
Assembly: Gamanet.C4.SimpleInterfaces (in Gamanet.C4.SimpleInterfaces.dll) Version: 2026.0.0.242
Syntax
C#
public static SimpleCollection<TSource> ToSimpleCollection<TSource>(
	this IEnumerable<TSource> enumerable
)

Parameters

enumerable  IEnumerable<TSource>
The enumerable.

Type Parameters

TSource
The type of the source.

Return Value

SimpleCollection<TSource>
Simple Collection

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionenumerable
See Also

Reference

Extensions Class
Gamanet.C4.SimpleInterfaces Namespace