Text Boxes - VB to C# question

  • Thread starter Thread starter Scupper
  • Start date Start date
S

Scupper

This is probably a boneheaded question, but I'm new to C#, coming from VB.

What is the C# equivalent of "vbcrlf"? I tried "\n" but it doesn't register
as a line break. It just shows as a "[]"-looking character.

Thanks.
 
Scupper,

You should use the static NewLine property on the Environment class.
This should give you the value that you are looking for.

Hope this helps.
 
Back
Top