Skip to content

M_CommandLine_Infrastructure_StringExtensions_JoinTo

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

StringExtensions.JoinTo Method

Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static string JoinTo(
	this string value,
	params string[] others
)

VB

<ExtensionAttribute>
Public Shared Function JoinTo ( 
	value As String,
	ParamArray others As String()
) As String

C++

public:
[ExtensionAttribute]
static String^ JoinTo(
	String^ value, 
	... array<String^>^ others
)

F#

[<ExtensionAttribute>]
static member JoinTo : 
        value : string * 
        others : string[] -> string 

Parameters

 

value
Type: System.String
others
Type: System.String[]

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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

StringExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally