title: Why method overloading is not allowed in WCF?
body: <p>Assume that this is a <code>ServiceContract</code> </p>
  
  <pre><code>[ServiceContract]
  public interface MyService
  {
      [OperationContract]
      int Sum(int x, int y);
  
      [OperationContract]
      int Sum(double x, double y);
  
  }
  </code></pre>
  
  <p>Method overloading is allowed in C#, but WCF does not allow you to overload <code>operation contracts</code>
  The hosting program will throw an <code>InvalidOperationException</code> while hosting</p>