replace variable with random number - C#