A C# console application for calculating factorials