The System.SequenceEqual method is a part of the C# Standard Library and is used to determine if two sequences are equal or not. It returns a boolean value indicating whether both sequences have the same elements in the same order or not.
Here are some example code snippets using System.SequenceEqual:
In this example, even though both arrays have the same elements, the SequenceEqual method returns false because the casing of the second element in the str2 array is different.
Package library: The System.SequenceEqual method belongs to the System.Linq namespace which is a part of the System.Core.dll assembly in the .NET Framework.
C# (CSharp) System.SequenceEqual - 30 examples found. These are the top rated real world C# (CSharp) examples of System.SequenceEqual extracted from open source projects. You can rate examples to help us improve the quality of examples.