Check out example codes for "c# max two values". It will help you in understanding the concepts better.

Code Example 1

<T> max = Math.Max(<T>,<T>);

Learn ReactJs, React Native from akashmittal.com