Edit

Share via


IPNetwork.Equality(IPNetwork, IPNetwork) Operator

Definition

Determines whether the specified instances of IPNetwork are equal.

C#
public static bool operator ==(System.Net.IPNetwork left, System.Net.IPNetwork right);

Parameters

left
IPNetwork

The first object to compare.

right
IPNetwork

The second object to compare.

Returns

true if the networks are equal; otherwise false.

Applies to

Product Versions
.NET 8, 9