Last active
January 11, 2019 10:19
-
-
Save MartinZikmund/8bcd181a9e9022a621f900a937678fcb to your computer and use it in GitHub Desktop.
Array fill with for loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var prime = new bool[1000]; | |
for ( int i = 0; i < isPrime.Length; i++ ) | |
{ | |
prime[i] = true; | |
} |
I found your history and you have not replaced all isPrime name.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why use isPrime.Length ?