max value between tow variables in c# code example Example: c# max two values <T> max = Math.Max(<T>,<T>);