Hexapp Documentation
Hexapp Documentation
Hexapp API
Reference
MicaSystems.Utils
Utils_Linq Class
Utils_Linq Methods
Add Method
AddConcat Method
AddFormat Method
AddIfNotNull(T) Method
AddRange Method
CastToList Method
Compare(T) Method
Concat Method
Contains Method
Convert Method
CreateList(T) Method
CreateReadOnlyCollection(T) Method
DistinctBy(T, TIdentity) Method
ForEach(T) Method
GetRandomItem(T) Method
GetRange(T) Method
GetString Method
IContains Method
IsEmpty(T) Method
IsGenericList Method
IsNotEmpty(T) Method
IsNullOrEmpty(T) Method
ListToDataTable(T) Method
MaxOrZero Method
Move Method
NotNull(T) Method
Pop(T) Method
PopFirst(T) Method
Remove Method
RemoveRange Method
ToDictionary(K, V) Method
UpdateListFromList(T1, T2) Method
Where(K, V) Method
Utils_Linq
GetRange
T
Method
Gets a range of values.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
Copy
public
static
List
<T>
GetRange
<T>(
this
List
<T>
list
,
int
startIndex
,
int
length
)
Parameters
list
Type:
System.Collections.Generic
List
T
An System.Collections.Generic.IEnumerable/T/ to return elements from.
startIndex
Type:
System
Int32
The start index.
length
Type:
System
Int32
The number of elements to return.
Type Parameters
T
The type of the elements of source.
Return Value
Type:
List
T
List
T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
List
T
. 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
Reference
Utils_Linq Class
MicaSystems.Utils Namespace
www.hexapp.com
×
Close feedback form
Send us
comments or requests about documentation