I'm new to Parallel Programming in C# and am finding it difficult to implement in real time. Here is my query:

```
public string[] SequentialFun(int count)
{
    string[] results = new string[count];
    for(int run = 0; run < count; run++)
    {
        while(true)
        {
           //Generate a Random Number (62 bit) and store it in variable 'randNum'
           if(randNum is prime)
           {
               results[run] = randNum.ToString();
               break;
           }
        }
    }
    return results;
}   

```

1. How to apply parallel programming for the above function to increase the speed?
2. Tell me how to run a `Parallel.For` loop until a condition? 
Please explain and help me with detailed explanation.