Create Random User algorithm in c# <p>i want to create users based on the number of photos in a folder.</p> <p>for example:</p> <pre><code>user.1 random(4)[photos1-4] dosomething(user.1) user.2 random(6)[photos5-10] dosomething(user.2) user.3 random(3)[photos11-13] dosomething(user.3) user.last [photos.leftover] dosomething(user.last) </code></pre> <p>ideas on how to do this?</p>