how to select max of two values c# code example Example: c# max two values <T> max = Math.Max(<T>,<T>);