I am calling a method:
lstMessages = UserDetailsService.GetMessagesForUser((thisUserID.Id).ToString()).ToList();
While stepping through the code without the
on the left it works fine, but when I set it to equal I get the error.
Kind of new to Generics.
Why am I getting this error?
The error message is pretty straightforward
It can't convert from the type on the right, to the type on the left.
The type of lstMessages should be as the right hand side functions return (which is a Generic List).
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)