C#C
C#9mo ago
16 replies
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?
Was this page helpful?