- Information
- AI Chat
Was this document helpful?
C# Math - C# notes
Course: Programming 1 (CS101)
40 Documents
Students shared 40 documents in this course
University: Kabul University
Was this document helpful?
❮ Previous
Next ❯
Coursary
Search for courses for free
C# Math
The C# Math class has many methods that allows you to perform mathematical tasks on
numbers.
Math.Max(x,y)
The Math.Max(
x
,
y
) method can be used to find the highest value of x and y:
Example
Math.Max(5, 10);
Try it Yourself »
Math.Min(x,y)
The Math.Min(
x
,
y
) method can be used to find the lowest value of of x and y:
HTML CSS
Menu
Log in