© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
15 replies
Hambones

Internal classes

I've created a back end/"engine" project in a solution. I followed the default and set all my classes to internal without thinking much of it. Now when i want to use a front end in a different project, I'm finding that i can't access the internal classes (obviously) and thus can't do things like pass instances of such classes to my UI. Is this c#'s not so subtle way of encouraging me to define an explicit outward facing "interface"?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Using dependency injection for internal classes inside a library
C#CC# / help
4y ago
classes
C#CC# / help
3y ago
❔ Classes
C#CC# / help
3y ago
Classes
C#CC# / help
4y ago