Horje
c# Loop Example Code Example
c# Loop Example
bool isPrime = false;
int number = 2;
while (number <= 100)
{
    isPrime = true;
    for (int i = 2; i < number; ++i)
    {
        if (number % i == 0)
        {
            isPrime = false;
            break;
        }
    }
    if (isPrime)
    {
        Console.Write(number);
        Console.Write(" ");
    }
    number++;
}




Csharp

Related
c# string split with string Code Example c# string split with string Code Example
Random number in C# Code Example Random number in C# Code Example
how to remove from list from index c# Code Example how to remove from list from index c# Code Example
unity get layermask Code Example unity get layermask Code Example
vue Code Example vue Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10