randomize items in list c# code example Example: c# randomize a list var shuffledcards = cards.OrderBy(a => Guid.NewGuid()).ToList();