cannot implicity convert type ilist
The error occurs when calling a function that returns an IList.
e.g.
IList myFunction();
....
List myVar = new List;
myVar=myFunction();
....
List
myVar=myFunction();
the error occurs on the assignment of myVar=myFunction.
The local var myVar should be declared as IList.
In the above instance the new List
Correct code:
IList myFunction();
....
IList myVar;
myVar=myFunction();
....
IList
myVar=myFunction();