How to return a List from WCF Service?
Consider a WCF service method that returns a generic list as follows: public List GetAllEmployees() { //code details here…. //returning a generic List<Employee> } On Client-side, if we try to access returned value of that web service method as follows: MyServiceClient client = new MyServiceClient(); List employeeList = client.GetAllEmployees(); We will face following error: Cannot […]