I have made my program using Visual Studio.
I would like a TextBox to display the contents of file, but when the contents of file reaches hundreds of megabytes in size, a SystemOutOfMemoryException
message appears.
How many bytes can fit into a textbox? So that I can limit the size of the data I read from the file.