Please, help me. I try compare two guid in .Where() query method. But I get compile error. Error 1 Operator '>' can not be applied to operands of type "System.Guid" and "System.Guid
Guid startUser = ////Here I get user by url id param
List<Friends> friends = Common.DataContext.Friends.Where(u => u.FriendID > startUser).Take(5);
And with :
u.FriendID.CompareTo(startUser) > 0
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With