Sieve of Pritchard: Difference between revisions
Content added Content deleted
m (→{{header|C#|CSharp}}: heh, neglected to post the latest code...) |
(→{{header|C#|CSharp}}: I tested it to 10000, but the task only wants 150) |
||
Line 65: | Line 65: | ||
static void Main(string[] args) { |
static void Main(string[] args) { |
||
Console.WriteLine("[{0}]", string.Join(", ", PrimesUpTo( |
Console.WriteLine("[{0}]", string.Join(", ", PrimesUpTo(150))); |
||
} |
} |
||
}</syntaxhighlight> |
}</syntaxhighlight> |