Fumetsu
✅ Good way to access methods from other classes?
I'm using separate class files to try and organize my code, as my code contains alot of stuff for specific things. Currently I'm accessing these seperate Class files by having all of them in the same namespace, and having a public class that has them all instanced. Problem is, I cannot use this same method for getting these classes in the MainForm, as for some reason it breaks my code. What are some ways you guys would recommend referencing a separate class file?
17 replies
✅ Newtonsoft.Json JsonSerializationException
As the title says, I keep getting a JsonSerializationException. I have no idea how to view the Exception details so if anyone could tell me that'd be nice. I've followed a few tutorials on this topic, but absolutely none have worked. Two exceptions occur in System.Private.CoreLib.dll and one in Newstonesoft.Json.dll
21 replies
✅ System.IO.IOException Being Thrown
As stated above, a System.IO.IOException is being thrown. I believe it's being thrown because the Streamwriter is trying to write to a file that "doesn't exist", but I am creating the file before that code runs. Any ideas on what could be a solution? Thanks!
39 replies