Jump to content

Self numbers: Difference between revisions

→‎{{header|C#|CSharp}}: more translation notes
(added C# version, translation of Pascal, but stripped down.)
(→‎{{header|C#|CSharp}}: more translation notes)
Line 14:
 
=={{header|C#|CSharp}}==
{{trans|Pascal}}via{{trans|Go}}(third version) Stripped down, as C# limits the size of an array to Int32.MaxValue, so the sieve isn't large enough to hit the 1,000,000,000th value.
<lang csharp>using System;
using static System.Console;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.