Ways to display 200 to 500 Mb worth of text file in c# wpf

422 views Asked by At

Im trying to create application that can display text file of size 200 to 500Mb. I tried using Textbox, with reading file line by line and appending to the Textbox. This takes 30 to 50s for 200Mb of data. Someone gave me an idea to use list of textbox instead of single textbox. Each line correspond to 1 list element. This method seems promising and gave me better result.(took 12 to 15 sec to load 200Mb text file). but the problem is Can this method be optimized to reduce this time or any other method is there? Same file, If I open in nodepad++ It hardly takes 3 to 4 sec to load the text file. How is that possible? Thank you.

0

There are 0 answers