public static class NewMathExtensions {
public static double Factorial(this int n) {
public static class Lattice {
public static double FindLatticePathCount(int n) {
double count = (2 * n).Factorial()/Math.Pow((3).Factorial(), 2);
public static void Main()