Rejig test harness (#68)

This commit is contained in:
Patrick Stevens
2025-06-27 11:54:00 +01:00
committed by GitHub
parent 5cf0789439
commit c859f88f52
21 changed files with 467 additions and 50 deletions

View File

@@ -0,0 +1,18 @@
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();
}
}
}