2
0
mirror of synced 2025-01-12 17:44:08 +00:00

28 lines
510 B
C#
Raw Normal View History

2024-02-19 15:20:12 +01:00
namespace Utils
{
public class BlockRange
{
public BlockRange(ulong from, ulong to)
{
if (from < to)
{
From = from;
To = to;
}
else
{
From = to;
To = from;
}
}
public ulong From { get; }
public ulong To { get; }
2024-02-19 15:41:48 +01:00
public override string ToString()
{
return $"[{From} - {To}]";
}
2024-02-19 15:20:12 +01:00
}
}