How to check a number is prime or not. In Vb.net , it is very easy and simple code which can be use to check the number. for detail you can visit