Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace CSharpAdvanced
- {
- class Program
- {
- static void Main(string[] args)
- {
- Func<int[], int> minNumber = n => n.Min();
- Console.WriteLine(minNumber(Console.ReadLine()
- .Split()
- .Select(int.Parse)
- .ToArray()));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement