/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
int sum = Enumerable.Range(1, 999) .Where(i => i % 3 == 0 || i % 5 == 0) .Sum();