ok, what is the proper way to get the version of your program, like majorupdatenumber.minorupdatenumber.buildnumber?

if you get to 10 minor updates, is that 1 major update. etc?

What is the real proper way, and how specific should you be?