© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
32 replies
PatrickG

❔ can a static class contain static class as property

Let's say I make static Class1 in a file
in an other file I make static Class2

Is there a way to make it so I could call Class1.Class2.Method() ??
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ static class
C#CC# / help
3y ago