While I read my txt file in visual studio, its shows extra line breaks, but when I open same file with notepad it doesn't show those line breaks.
I am reading my file with System.IO.File
var file = File.ReadAllLines(AppDomain.CurrentDomain.BaseDirectory + "myfile.txt")
How to read file without those unwanted linefeeds.
Don't want to do replace .replace("\r\n","")
since it will replace all genuine line feed as well.
EDit Just Tried with NotePad++ With Notepad ++
Now with Normal Notepad