I'm new to C# and I'm trying to solve this problem but there's no solution availible on Project Euler for it. I have made this bit of code and the result seems ok.

Code (Text):

using System;

class MultipleSum
{
public static void Main()
{
int sum = 0;

for (int i = 0; i < 1000; i++)
{
if (i % 3 == 0)
sum += i;
continue;

if (i % 5 == 0)
sum += i;
continue;
}

Console.WriteLine(sum);
Console.WriteLine("Press ANY Key to continue");
Console.ReadKey();
}
}

Either you are using English in a fairly loose way, or you need to find out what the continue statement really does.

FWIW your code "works" because of the first continue statement, but the second one does nothing. But you wouldn't normally use a continue statement the way you used it.

I was using the continue statements so in the event of a number, eg 60, that is both a multiple of 3 and 5 to stop it getting added twice? Or did I misinterpret the problem?