Assalaam O Alaikum

I am working in C#. I created random number through Random class but the numbers are generated in whole numbers, that is not in decimals. This way, for the first assignment, the possible universal set will be restricted to only ten possible outcomes. Do I need to change anythig?