Files
2025-06-27 10:54:00 +00:00

19 lines
421 B
C#

using System.Collections.Generic;
using System.Linq;
namespace HelloWorldApp
{
class Program
{
static int Main(string[] args)
{
var l = new List<int>();
l.Add(8);
l.Add(100);
var m = l.Select(x => x.ToString()).ToList();
// 2 + 108 + (1 + 3) = 114
return m.Count + l.Sum() + m.Select(x => x.Length).Sum();
}
}
}