i want to return List<DictionaryClass<string,string>> from web service but getting error for IDictio
- by girish
[WebMethod]
public List<DictionaryClass<string,string>> GetDataByModuleDictionary(string ModuleName)
{
return BAL_GeneralService.GetDataByModuleDictionary(ModuleName);
}
here i m getting the following error...
The type DictionaryClass`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it implements IDictionary.