prime number program in c# using array