Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

IEquatable revised book

Language: Layout:
+ ] Show input
Compilation time: 0.25 sec, absolute running time: 0.09 sec, cpu time: 0.08 sec, average memory usage: 16 Mb, average nr of threads: 4 
edit mode |  history  | discussion
In CompareDemo.bool.IsIn

System.Int32
2 is found.
In CompareDemo.bool.IsIn

System.Int32
99 is not there.
In CompareDemo.bool.IsIn

Rextester.MyClass
In MyClass.Equals

In MyClass.Equals

In MyClass.Equals

MyClass(3) is found.
In CompareDemo.bool.IsIn

Rextester.MyClass
In MyClass.Equals

In MyClass.Equals

In MyClass.Equals

In MyClass.Equals

MyClass(99) is not found
---------------------------------------
In CompareDemo.bool.InRange

System.Int32
2 is within the range of nums.
In CompareDemo.bool.InRange

System.Int32
1 is within the range of nums.
In CompareDemo.bool.InRange

System.Int32
5 is within the range of nums.
In CompareDemo.bool.InRange

System.Int32
0 is NOT within the range of nums.
In CompareDemo.bool.InRange

System.Int32
6 is NOT within the range of nums.
---------------------------------------
In CompareDemo.bool.InRange

Rextester.MyClass
In MyClass.CompareTo

In MyClass.CompareTo

MyClass(2) is within the range of mcs.
In CompareDemo.bool.InRange

Rextester.MyClass
In MyClass.CompareTo

In MyClass.CompareTo

MyClass(1) is within the range of mcs.
In CompareDemo.bool.InRange

Rextester.MyClass
In MyClass.CompareTo

In MyClass.CompareTo

MyClass(4) is within the range of mcs.
In CompareDemo.bool.InRange

Rextester.MyClass
In MyClass.CompareTo

MyClass(0) is NOT within the range of mcs.
In CompareDemo.bool.InRange

Rextester.MyClass
In MyClass.CompareTo

In MyClass.CompareTo

MyClass(5) is NOT within the range of mcs.

    
                
λ
.NET NoSQL database for rapid development