Can someone help me.

I need to solve these problems with c#. Verry fast!!

1. Display the first Prime "n" numbers (n=given from the keyboard)

Ex: n= 6 -> 2, 3,5,7,11,13

2. Enter a string of numbers on the keyboard until we enter "0".

After that we need to print out the Arithmetic mean of the par numbers (ex: 2) and the impair numbers (ex: 3) that we entered earlier.

Tankyou so much!!!