Class Lists (3.15.8)

public static class Lists : object

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<T>
right List<T>
Returns
Type Description
Boolean
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<T>
Returns
Type Description
Int32
Type Parameter
Name Description
T