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.

Patrick Burrows
With a horrid little pistol and a lariat
--------------------
Now Playing: 01 dolly dagger (unnamed server)
--------------------

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to