© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
80 replies
Spaghetti_cult_owner

Static property issues

I have a static public property of a class I'll call A, whose value in a class I'll call B is 0, when in reality its value is something else. The value of the class in the Main() method is just as it should be, which is very perplexing.
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?
Next page

Similar Threads

Static property override
C#CC# / help
2y ago
XAML property issues
C#CC# / help
12mo ago
❔ can a static class contain static class as property
C#CC# / help
3y ago
❔ Changing TextBlock Background property in a static method
C#CC# / help
4y ago