The Difference Between vbCrLf, vbNewLine and Environment.NewLine

The question, “which is better, vbCrLf, ContrlChars.CrLf, vbNewLine, ControlChars.NewLine, Environment.NewLine, ControlChars.NewLine, or vbNewLine?” is not a question you’d get in C#, since only Environment.NewLine is available.  This is a question that only appears during VB.NET development. So what’s the difference between the following five statements? Debug.Print(vbCrLf) Debug.Print(ControlChars.CrLf) Debug.Print(vbNewLine) Debug.Print(ControlChars.NewLine) Debug.Print(Environment.NewLine) Usually, nothing.  They all return […]