C# List

List Equals in C# Examples

Example1: Returns true if the two specified lists are reference equal (are the same instance).

Output:

 

Example 2: Returns false if the specified two lists are not the same instance.

Output:

 

Example 3: 

Output:

Source: www.dotnetperls.com/list-equals

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.