I hate to say it but, I feel it must be said: You can use the VB.NET libraries from with C# ( although: String has been renamed StrDup )
MyVar = Microsoft.VisualBasic.StrDup(65, "-"); Jeremy :) >> >> Is there an equivalent in C# of the VB String() function? I want to >> create a line of 65 "-" characters (am formatting some text). >> >> In VB, I just do: >> MyVar = String(65,"-") >> >> Am looking through the members of the String class and don't see >> anything. >> >> I mean, obviously, I can accomplish the same thing in >> probably a couple >> dozen different ways. Just am trying to learn the object model as much >> as I am trying to get the project finished. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.