© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
25 replies
Triufelis

Copying from files [Answered]

I have a task. 2 files. We print from the first one up until we find the first word that matches in the second file that we had not printed. F.e. File1 text is : My name is John. File2 text is: Is this absurd?. So the outcome should be My name is this absurd john. I can only read a line at a time from each file.

Example of the code structure is attached via picture. Any help is appreciated.
0ea5c7ce1f40c94d36909c9c3cd0ea80.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Copying files from network path (c, .net)
C#CC# / help
4y ago
namespace missing imports after copying class [Answered]
C#CC# / help
4y ago
Files not copying to output directory - Linux
C#CC# / help
2y ago