Hi,
Sorry to bother you with what's probably a simple answer but I'm trying to retrieve a list of a users friends but the function is returning me an Enum, I'm really unsure what to do with it, I thought Enum's were constants and not something that would change depending on the user (in this case)
I'm using
var user = User.GetUserFromScreenName(username);
var show = user.GetFriends();
Which returns an IEnumerable, Which I can't iterate through, I expected it to return a list but this has stumped me.
Just a FYI I'm a hobbyist trying c# for the second time (First was little bits in Unity2d)
Any help would be appreciated
Thank you
Bry
Sorry to bother you with what's probably a simple answer but I'm trying to retrieve a list of a users friends but the function is returning me an Enum, I'm really unsure what to do with it, I thought Enum's were constants and not something that would change depending on the user (in this case)
I'm using
var user = User.GetUserFromScreenName(username);
var show = user.GetFriends();
Which returns an IEnumerable, Which I can't iterate through, I expected it to return a list but this has stumped me.
Just a FYI I'm a hobbyist trying c# for the second time (First was little bits in Unity2d)
Any help would be appreciated
Thank you
Bry