Link to home
Start Free TrialLog in
Avatar of gcastong
gcastong

asked on

C# Class creation to manage code in seperate class files

I am looking to understand how to manage multiple class files that will work within one application / program in C#, .net.

I have created a seperate class outside of my normal program.cs class. However, I can't seem to access the properties or methods within the seperate class inside the program.cs class.

I don't want to start creating many classes within the same main class of the program.

Thanks
Greg.
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
make the class public and instantiate the class. Also, the methods and properties have to be public