Can't use optional parameters when implementing an interface for a WCF
问题 In my interface I have declared this. [OperationContract] [WebGet] String GetStuff(String beep, String boop = "too lazy to type"); I implemented it as follows. String GetStuff(String beep, String boop = "too lazy to type") { ... } It compiles and uploads as my WCF service. However, when I used it as a web reference and try to execute the code below, I get the compiler whining and weeping about no method with signature of a single parameter. The last line is the problem. How can I then be too