diff --git a/src/Infrastructure/BotSharp.Abstraction/Utilities/MathExt.cs b/src/Infrastructure/BotSharp.Abstraction/Utilities/MathExt.cs new file mode 100644 index 00000000..4ea18179 --- /dev/null +++ b/src/Infrastructure/BotSharp.Abstraction/Utilities/MathExt.cs @@ -0,0 +1,14 @@ +namespace BotSharp.Abstraction.Utilities; + +public static class MathExt +{ + public static int Max(int a, int b, int c) + { + return Math.Max(Math.Max(a, b), c); + } + + public static long Max(long a, long b, long c) + { + return Math.Max(Math.Max(a, b), c); + } +}