Pretty-print a vector label.
Namespace: Stemmer.Cvb.SampleDatabase
Assembly: Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax
public static string ToLabelString<TValue>( this TValue[] arr, string separator, char openingBracket, char closingBracket )
Parameters
- arr
- Type: TValue
the array to attach the extension method to - separator
- Type: SystemString
character that separates the entries - openingBracket
- Type: SystemChar
left bracket character - closingBracket
- Type: SystemChar
right bracket character
Type Parameters
- TValue
- type of the elements stored in the array
Return Value
Type: StringString representation of the label array.
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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also