A random number generator must always be initialized with a seed. From then on the number is generated based upon a mathematical formula using the seed value and successive values. In C# you have two constructs for the Random class. The first one has no arguments and uses a time value (always different) for a seed. The second one allows you to specify an int value as a seed. Easiest to use the first. Next you retrieve the random number. In this case the number will be between 0.0 and 1.0. This means you've got to scale your number from there, so...
float obj = new Random();
int random_value = (int) ((obj.Sample() * 11) + 1);
This was not tested but should fly.