what is the .net equivalent of the VB string function?

S = String(5,"x") 'S = "xxxxx"