Anyone willing to help me out, I have been stumped for hours. Basically I am loading a saved list of strings and each time I load them, although it should overwrite, it loads it on top of the previous ones there, adding X amount each time. for example if I load 5 times with 3 items initially it goes 3 6 9 12 ... for some reason it does this. I cannot find the root cause of the issue the closest I can get is when Newtonsoft desirializes the object, but that isnt really helpful. The list loaded immediately after deserialization is the extended length (6), even though on the file it is normal (3). Here is some code bits and areas of interest:
https://paste.ofcode.org/yFVTfweVFrpjJccSvcGFfq, https://paste.ofcode.org/5J5HxyMm345yquUsKwiJj, https://paste.ofcode.org/U5DFpN7sEaHzKttYYyQfS7
I'm gonna make this a thread, please if anybody can take a peek at my code and has some valuable insight I would be forever greatful. 🙏
If you have questions or need more code lmk, bed time for me