¡@

Home 

c# Programming Glossary: suspectprime

Why does C# execute Math.Sqrt() more slowly than VB.NET?

http://stackoverflow.com/questions/3025968/why-does-c-sharp-execute-math-sqrt-more-slowly-than-vb-net

End Sub Private Sub testIfPrimeSerial ByVal suspectPrime As Int32 For i As Int32 2 To Math.Sqrt suspectPrime If suspectPrime.. ByVal suspectPrime As Int32 For i As Int32 2 To Math.Sqrt suspectPrime If suspectPrime Mod i 0 Then Exit Sub End If Next temp.Add.. As Int32 For i As Int32 2 To Math.Sqrt suspectPrime If suspectPrime Mod i 0 Then Exit Sub End If Next temp.Add suspectPrime End..