Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Or so for an array:
using System.Linq;
int[] nums = { 0, 1, 2, 3, 4, 5, 6, 3 };
int max = nums.Max(); //Result: 6
using System.Linq;
int[] nums = { zn1, zn2, zn3 }; //в именах переменных, первый символ не может быть знаком (точка, запятая и т.п.) или цифрой
int max = nums.Max();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question