public static void Main(string[] args) { Console.WriteLine(Kata.Solution(10)); // i % 3 = 0 => 3, 6, 9 < (10) // i % 5 = 0 => 5 < (10) // sum = 3 + 5 + 6 + 9 = 23, so the output is 23 Console.WriteLine(Kata.Solution(22)); // i % 3 = 0 => 3, 6, 9, 12, 15, 18, 21 < (22) // i % 5 = 0 => 5, 10, 15, 20 < (22) // sum = 3 + 6 + 9 + 12 + 15 + 18 + 21 + 5 + 10 + 15 + 29 = 119, so the output is 119 Console.WriteLine(Kata.Solution(30)); }