Random Generator method - C#