The System Uri Equals method is a part of the System.Uri class in C#. It is used to compare two Uri objects for equivalence.
Code Example:
Uri uri1 = new Uri("http://example.com"); Uri uri2 = new Uri("http://example.com"); bool isEqual = uri1.Equals(uri2);
In this example, two Uri objects are created with the same URL. The Equals method is used to compare the objects for equivalence. The bool variable isEqual will be set to true.
Package Library:
The System.Uri class is a part of the .NET Framework Class Library, specifically the System.dll assembly. This library is included with the .NET runtime and does not require any external packages to use.
C# (CSharp) System Uri.Equals - 33 examples found. These are the top rated real world C# (CSharp) examples of System.Uri.Equals extracted from open source projects. You can rate examples to help us improve the quality of examples.