Read the error message:
Cannot implicitly convert type 'System.Collections.Generic.List<object>' to 'System.Collections.Generic.IEnumerable<int>'. An explicit conversion exists (are you missing a cast?)
Your function is returning a List<object> instead of a IEnumerable<int>.
List<object>
IEnumerable<int>
I've tried your code and although it's not correct, I don't get that error. Please mark your posts as having spoiler content next time.
No, copy your code, click reset, paste it and try again.
Loading collection data...
Read the error message:
Your function is returning a
List<object>
instead of aIEnumerable<int>
.I've tried your code and although it's not correct, I don't get that error. Please mark your posts as having spoiler content next time.
No, copy your code, click reset, paste it and try again.