Search code examples
delphidelphi-prismoxygene

What is Delphi Prism LineFeed


What is the equivalent of C#'s \n and Visual Basic's vbCRLF or vbNewLine in Delphi Prism? Do I have to use Environment.NewLine?


Solution

  • Environment.NewLine is actually the best thing to use, as it is supposed to be platform independent. This guidance goes for C# as well, by the way.