Class Lists

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
TypeNameDescription
List<T>left
List<T>right
Returns
TypeDescription
Boolean
Type Parameter
NameDescription
T

GetHashCode<T>(List<T>)

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

Gets the list's hash code.

Parameter
TypeNameDescription
List<T>list
Returns
TypeDescription
Int32
Type Parameter
NameDescription
T