2012-12-08 ParseInt with LINQ 123456int parseIntLinq(string s){ return s.Reverse() .Select((c,i)=>(int)(c-'0')*(int)Math.Pow(10,i)) .Sum();} Because I can. Newer The answer to pretty much every performance question ever Older You know what's fun?