lundi 13 mai 2019

How to randomly shuffle a 2D array in C#? [duplicate]

This question already has an answer here:

I want to randomly shuffle a 2D array in C#, but don't know how to. The elements should remain the same, but their positions should change randomly.

UPDATE: I don't think the suggested link solves my problem as it's about shuffling an one-dimensional list, and not a 2D one.




Aucun commentaire:

Enregistrer un commentaire