Click or drag to resize
ListExtensionsAsReadOnlyT Method
Convert a List into a ReadOnly list.

Namespace: Bio.Extensions
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public static IList<T> AsReadOnly<T>(
	this IList<T> input
)

Parameters

input
Type: System.Collections.GenericIListT

[Missing <param name="input"/> documentation for "M:Bio.Extensions.ListExtensions.AsReadOnly``1(System.Collections.Generic.IList{``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Bio.Extensions.ListExtensions.AsReadOnly``1(System.Collections.Generic.IList{``0})"]

Return Value

Type: IListT

[Missing <returns> documentation for "M:Bio.Extensions.ListExtensions.AsReadOnly``1(System.Collections.Generic.IList{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListT. 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).
See Also