using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace CalculatorService { // NOTE: If you change the class name "Calculator" here, you must also update the reference to "Calculator" in Web.config. public class Calculator : ICalculator { // A method to add two numbers and return the sum public int Add(int a, int b) { return a + b; } } }