Q. 1 What is Prime Number?
Answer: A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.
Q. 2 Write a program in C# to check number is prime or not ?
Answer: The following code snippet to check prime number or not.