Class UInt256
Assembly: Algorand.dll
Syntax
public class UInt256 : UInt, IEquatable<UInt>, IEquatable<UInt256>
Constructors
|
Edit this page
View Source
UInt256()
Create uint256 instance with empty constructor
Declaration
|
Edit this page
View Source
UInt256(object)
Create uint256 instance with value
Declaration
public UInt256(object value)
Parameters
| Type |
Name |
Description |
| object |
value |
|
Methods
|
Edit this page
View Source
Equals(UInt256?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(UInt256? other)
Parameters
| Type |
Name |
Description |
| UInt256 |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Edit this page
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
|
Edit this page
View Source
FromValue(BigInteger)
Declaration
public static UInt256 FromValue(BigInteger value)
Parameters
Returns
|
Edit this page
View Source
FromValue(ulong)
Declaration
public static UInt256 FromValue(ulong value)
Parameters
| Type |
Name |
Description |
| ulong |
value |
|
Returns
|
Edit this page
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(UInt256, UInt256)
Declaration
public static bool operator ==(UInt256 left, UInt256 right)
Parameters
Returns
|
Edit this page
View Source
operator !=(UInt256, UInt256)
Declaration
public static bool operator !=(UInt256 left, UInt256 right)
Parameters
Returns
Implements