I have created a class library in this directory:
E:\My Document\Uncompleted Project\Meysam
When I create another application, I will add the output of my library (Meysam.Library.dll) to the new application's references, from this directory:
E:\My Document\Uncompleted Project\Meysam\Meysam.Library\bin\Debug
The methods are not going to give me the correct output in new application.
It doesn't make sense, does it?
What can I check for fixing this?
For more info:
I call the below method in new application from my class library.
public static bool IsPrime(int number)
if (number < 2) return false;
if (number == 2) return true;
for (int i = 2; i <= System.Math.Sqrt(number); i++)
if (number % i == 0)