Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- namespace ProgramCS
- {
- class Program
- {
- static void Main()
- {
- //input
- int[] num = { 1, 2, 3, 4, 5 };
- int max = num.Max();
- Console.WriteLine(max);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement