Class Lists (3.27.1)

public static class Lists

Utility to compare if two Lists are the same, and the hash code of a List.

Inheritance

object > Lists

Namespace

Google.Protobuf.Collections

Assembly

Google.Protobuf.dll

Methods

Equals<T>(List<T>, List<T>)

public static bool Equals<T>(List<T> left, List<T> right)

Checks if two lists are equal.

Parameters
Name Description
left List
right List
Returns
Type Description
bool
Type Parameter
Name Description
T

GetHashCode<T>(List<T>)

public static int GetHashCode<T>(List<T> list)

Gets the list's hash code.

Parameter
Name Description
list List
Returns
Type Description
int
Type Parameter
Name Description
T