Softawy 3ala tool
Linq
Nice Start with Project Euler
01000 days
Today I have Start to solve problems in Project Euler
It is really amazing website to start practice your self in programming tricks and also mathematics
I solve the first problem which was very easy , it can be solved by many ways and more simpler than my way
but I love .net 3.5
Here is my solution
var numbers = from number in Enumerable.Range(0, 1000) where ((number % 3 == 0) || (number % 5 == 0)) select number; var answer = numbers.Sum(); Console.WriteLine(answer);