© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
16 replies
The Fog from Human Resources

✅ Question about partial classes

So recently I got into partial classes (it's a miracle I didn't find out about this sooner I love them) and have since been using them to manage my code by splitting up classes into what they do /take care of instead of having one huge class

Now I wonder when and when not to use partial classes because personally I don't see any downsides to them, for example when writing a library that uses partial classes, doesn't that mean people can easily write an "extensions" by tapping into the same namespace / class and just adding things to them
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

❔ Very easy question, about classes
C#CC# / help
3y ago
❔ Question about data types and classes
C#CC# / help
4y ago
✅ confused about classes
C#CC# / help
3y ago
Partial classes and platform specific code
C#CC# / help
17mo ago