using System; using System.IO; using System.Linq; public class Kataloogid1{ public static void Main(string[] arg){ // Console.WriteLine(string.Join("\n", Directory.GetFiles("."))); Console.WriteLine(string.Join("\n", Directory.GetFiles("."). Select(fnimi => new FileInfo(fnimi)). OrderBy(fi => fi.Length). Select(fi => fi.Name+" "+fi.Length+" baiti "))); } }