共用方式為


Concatenation Operations

Concatenation refers to the operation of appending one sequence to another.

The following illustration depicts a concatenation operation on two sequences of characters.

Graphic showing concatenation of two sequences.

The standard query operator methods that perform concatenation are listed in the following section.

Methods

Method Name

Description

C# Query Expression Syntax

Visual Basic Query Expression Syntax

More Information

Concat

Concatenates two sequences to form one sequence.

Not applicable.

Not applicable.

Enumerable.Concat<TSource>

Queryable.Concat<TSource>

See Also

Tasks

How to: Combine and Compare String Collections (LINQ)

Reference

System.Linq

Concepts

Standard Query Operators Overview