Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 23, 2008 09:22 PM|LINK
Thanks, I'll have to research IEnumerable a bit more to really get this. I guess I also don't understand how it's returning an IEnumerable<> besides the method signature saying it's returning an IEnumerable when it's showing me that it's returning a generic
list of IRole. So somehow the compiler pushes in An IEnumerable<IRole>...I just don't get that. The return statement in that method is saying it's returning List<IRole> but method signature doesn't say List<IRole> it says IEnumerable. What are the symantics
But moving on, I now get this:
I also tried:
hhRoles = (
Either way I still get this error: Use of unassigned local variable 'roleProvider'
What is it talking about, I DID use it.