Python's file objects can now support end of line conventions other than the one followed by the platform on which Python is running. Opening a file with the mode 'U' or 'rU' will open a file for reading in universal newline mode. All three line ending conventions will be translated to a "\n" in the strings returned by the various file methods such as read() and readline().
In Python 3, universal newlines is the default mode to open text files in. That means, when opening text files, I do not have to care about line ending conventions at all.
Do we have convenience feature like this in C#, too?