© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
mae ling

❔ Variable Access-Manipulation ?

Is there a way to have a variable constantly point to another variables value without being in a threaded/tasked environment?

int main_global_val = 32;

int local_main = ref main_global_val; ?
// have local_main always refer to main_global_val's value
int main_global_val = 32;

int local_main = ref main_global_val; ?
// have local_main always refer to main_global_val's value


how could i do something like this?
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

✅ Variable access help :(
C#CC# / help
2y ago
❔ DBSet manipulation
C#CC# / help
3y ago
Text Manipulation
C#CC# / help
4y ago
❔ ✅ Access variable from another script
C#CC# / help
3y ago