Method Populate
| Edit this page 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 |