Class ArrayExtensions
Helper for Arrays
Inheritance
System.Object
ArrayExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn
Assembly: Jotunn.dll
Syntax
public static class ArrayExtensions
Methods
| Improve this Doc View SourcePopulate<T>(T[], T)
Populate an array with a default value
Declaration
public static T[] Populate<T>(this T[] arr, T value)
Parameters
Type | Name | Description |
---|---|---|
T[] | arr | Array instance |
T | value | Default value |
Returns
Type | Description |
---|---|
T[] | Reference to the array instance |
Type Parameters
Name | Description |
---|---|
T | Array value type |