Skip to content

Instantly share code, notes, and snippets.

@joebuschmann
Created September 29, 2014 22:49
Show Gist options
  • Save joebuschmann/e5155a5fa2cc2e3b2b7e to your computer and use it in GitHub Desktop.
Save joebuschmann/e5155a5fa2cc2e3b2b7e to your computer and use it in GitHub Desktop.
Simple implementation of Specflow's calculator service
public class CalculatorService
{
public int Add(IEnumerable<int> numbers)
{
return numbers.Sum();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment