Compares two
FileSystemInfo objects
and returns a value indicating whether
one is less than, equal to, or greater than the other.
Namespace: CleanCode.IO
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
Parameters
- x
- Type:
System Object
The first object to compare.
- y
- Type:
System Object
The second object to compare.
Return Value
Negative number if x is greater than y. Zero if x equals y. Positive number if x is less than y.Implements

Exceptions
Exception | Condition |
---|---|
![]() | Neither x nor y implements
the ![]() |
See Also