Files
OpenNest/OpenNest.Core/Math/EvenOdd.cs
2026-03-06 12:51:16 -05:00

16 lines
273 B
C#

namespace OpenNest.Math
{
public static class EvenOdd
{
public static bool IsEven(this int i)
{
return (i % 2) == 0;
}
public static bool IsOdd(this int i)
{
return (i % 2) == 1;
}
}
}