Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Sort
- {
- class Sort
- {
- static void Main()
- {
- List<int> n = Console.ReadLine().Split().Select(int.Parse).ToList();
- n.Sort((a,b) => b.CompareTo(a));
- Console.WriteLine(string.Join(", ",n));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment