Removing content in text file

Hello!

Currently I have 3 text files, namely TotalClass, Class1, Class2 and Class3.
How do I just retrieve Class3 data if I only have TotalClass, Class1 and Class2 data? (Class3 text file is currently empty.) I want to do something like TotalClass - Class1 - Class2 = Class3.

Input:
TotalClass (Basically Class1 + Class2 + Class3):
Tom
Sam
Regina
Daniel
Ron
Jim
Edgar
Rob
Eric
Sandra
Idris

Class1 contains:
Tom
Sam
Regina
Daniel

Class2 contains:
Ron
Jim
Edgar

Class3:
(Empty)

Output:
Class3 contains:
Rob
Eric
Sandra
Idris

Thanks and appreciate all the help!
Woot!

Hi @wootberries24

Try to split operations like Strout.Split("",Environment.NewLine,StringSplitOptions.None)

and loop it through for each and then use write text

Thanks
Ashwin S