I'm using StreamWriter to output a text file, but I would like to end my WriteLine with Lf rather than the default CrLf. Is there an easy way to do this using a parameter built into StreamWriter?
I feel like quite a moron right now, but I'll leave the question up here just for laughs. It's been a long day...
It comes with a NewLine property for just that.
Just call .write and add the line break at the end?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With