Math.Max Method returns the larger of two 8-bit unsigned integers.
using System; class Sample { public static void Main() { ulong xUlong1 = 104, xUlong2 = 114; Console.WriteLine(Math.Max(xUlong1, xUlong2)); } }