© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
5 replies
krakenblud
❔ how to write strings to text file
Everything i tried didnt work
, checked stack overflow etc none of that worked either
, I
'm trying to use a foreach loop to take a line of text and write it to a text file that was already created earlier in the program and then repeat
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ write multiple Lists to file
C
C# / help
4y ago
❔ How to write Process name into XML file ?
C
C# / help
4y ago
❔ Text file
C
C# / help
3y ago
❔ how to save text from TextBox to file?
C
C# / help
4y ago