C#, just the relevant code, 59
(assuming the argument variable is called a)
Enumerable.Range(1,int.Parse(a[0])).Aggregate(0,(x,y)=>x*y) With boilerplate, 122
using System.Linq;class A{static int Main(string[] a){return Enumerable.Range(1,int.Parse(a[0])).Aggregate(0,(x,y)=>x*y);} (note that this solution returns the result)