static void NonAdjacentSum() { var obj = new CareerCupQnA(); Console.WriteLine(obj.NonAdjacentSum(new List <int> { 3, 2, 5, 10, 7 })); }