9
Answers

Global Variables

kendalgoodrich

kendalgoodrich

21y
2.9k
1
Hello everybody, I know that there are no global variables in C#, but there has to be a way to get the same functionality. What I need to do is increment a counter in different spots in a solution. Different instances of different classes need to increment the same counter under certain conditions. Any ideas??????? Thanks, Kendal

Answers (9)