mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-06 06:28:39 +00:00
19 lines
421 B
C#
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();
|
|
}
|
|
}
|
|
}
|