C#C
C#7mo ago
LPeter1997

File.WriteAllText throws on long text

Seems like when the string to be written is about 1.8 megs, BCL gives up. (Image attached) Why is this so and what would be the recommended way to dump a huge string builder to file then? Yes I know this isn't a proper logger.
image.png
Was this page helpful?