Factorial Program C#

I am struggling while attempting to create a C# program that can “compute N! using unsigned integer type to store; for a N from 1 to 999,999,999”. I have gotten the program to calculate up to 27 but for some reason get a return value of 0 when going above it. Anyone have a code that can properly compute this? Thanks!