You can also use Guid.NewGuid() built in method
public string CreateRandomStringWithNumber(int length)
{
string res = string.Empty;
Random rn = new Random();
int num = rn.Next(100, 999);
string str = Convert.ToString(Guid.NewGuid()).Substring(0,7);
res = str + num;
return res;
}