Beispiel #1
0
 public static string PrintOverlaps(this SbScratchPad sbScratchPad)
 {
     return(StringFuncs.GridFormat(sbScratchPad.Order, sbScratchPad.Order,
                                   (r, c) => $"{sbScratchPad.Overlap(r, c).Overlap}"));
 }
Beispiel #2
0
        public void TestGridFormat()
        {
            Func <uint, uint, string> f = (r, c) => $"[{r}, {c}]";

            Console.WriteLine(StringFuncs.GridFormat(5, 7, f));
        }