© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
✅ how do i read a global variable - C#
C
C#
•
15mo ago
•
79 replies
ElectricTortoise
✅ how do i read a global variable
as you can see
, my code currently relies on a variable which is passed byref
, but i would really rather it be a global variable
. i get an error when i try to do that though
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
❔ How to do global variable?
C
C# / help
3y ago
Global variable not identified
C
C# / help
12mo ago
Next page