IDNLearn.com connects you with a community of experts ready to answer your questions. Get the information you need from our community of experts who provide accurate and comprehensive answers to all your questions.


Given an integer, number, determine if number is a prime number. Recall prime numbers are numbers that are divisible on by 1 and themselves. By definition negative values, 0 and 1 are not prime numbers (2 is the smallest prime number). If number is prime, return true, otherwise return false.
static bool Test5(int number)