VPIEnumerableArrayExtensions PopulateWithValue T  Method Virtual Photonics - VTS Library
Virtual Photonics

Namespace: Vts.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static T[] PopulateWithValue<T>(
	this T[] myArray,
	T value
)
where T : struct, new()

Parameters

myArray
Type:  T 
value
Type: T
Type Parameters

T

Return Value

Type:  T 

Usage Note

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