© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
4y ago
•
12 replies
Lewis C
❔ Reusing strings across classes
This is file 1
https://cdn.discordapp.com/attachments/987310138195054592/1067462232860004433/image0.jpg
I
’d like to store and using the string content in other classes
Like this
https://cdn.discordapp.com/attachments/987310138195054592/1067462409738010634/image0.jpg
But I have the red line of doom
. What am I doing wrong
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
WPF reusing the same template across multiple columns
C
C# / help
4y ago
❔ .NET 6.0 - Nullable Strings with Dapper Model Classes
C
C# / help
4y ago
✅ Strings
C
C# / help
17mo ago