I checked what was in the Environment.NewLine using this code :
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
char[] textCharArray = Environment.NewLine.ToCharArray();
foreach (char c in textCharArray)
{
Console.WriteLine((int)c);
}
}
}
}
and it outputs \r\n with both .net Framework 3.5 and 4.5, so no difference here.
No comments:
Post a Comment