6 Replies
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
i have a varible that i would like to use across 2 static void, is there a way to do it
not sure what more to add
declare it in a scope where both methods can see it
for example, a static property in a class
could you show an example
a static member would be an example
tho, usually u want to avoid that, especially for mutable stuff.
for more u need to give more context