using System; using System.IO; using System.Linq; public class Kataloogid2{ public static void Main(string[] arg){ Console.WriteLine( Directory.GetFiles(".", "*.cs"). Select(fnimi => new FileInfo(fnimi)). Select(fi => fi.Length).Sum()); } }