Tagged: random

answers  0
views  107
votes  1

[Question] Why does the C# Random number generator just create a single number?  

I am generating random numbers between 1 and 100. This is the code I am using: var random = new Random(); var list = new List<int>(); for(int i = 0; i < 100; i++) { list.Add(random.Next ...
Apr 02, 2016
Ilario Severiano
{ 53 - 1 - 0 }
1  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.