Question

1. Write a program in C# Sharp to create a function to check whether a number is prime or not.

Fig: 1