共用方式為


Equality Operations

Two sequences whose corresponding elements are equal and which have the same number of elements are considered equal.

Methods

Method Name

Description

C# Query Expression Syntax

Visual Basic Query Expression Syntax

More Information

SequenceEqual

Determines whether two sequences are equal by comparing elements in a pair-wise manner.

Not applicable.

Not applicable.

Enumerable.SequenceEqual

Queryable.SequenceEqual

See Also

Tasks

How to: Compare the Contents of Two Folders (LINQ)

Reference

System.Linq

Concepts

Standard Query Operators Overview