Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<double?> list = new List<double?>();
- var max = list.Max();
- var max = 0;
- if (list.Count > 0)
- {
- max = list.Max();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement