using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.IO; public class Failid3{ public static void Main(string[] argumendid){ Console.WriteLine(string.Join("\n", Directory.GetFiles(".", "*.txt"). Select(fnimi => new FileInfo(fnimi)). OrderBy(finfo => finfo.Length). Select(finfo => finfo.Name+" "+finfo.Length))); } }