Global Variables
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

chrishornbergerRank #2,700 · 517 reputationPosted Oct 7, 2003, 9:44 AM EDT
jamesRank #1,153 · 1.6K reputationPosted Oct 7, 2003, 9:50 AM EDT
chrishornbergerRank #2,700 · 517 reputationPosted Oct 7, 2003, 9:56 AM EDT
jamesRank #1,153 · 1.6K reputationPosted Oct 7, 2003, 11:28 AM EDT
chrishornbergerRank #2,700 · 517 reputationPosted Oct 7, 2003, 11:42 AM EDT
jamesRank #1,153 · 1.6K reputationPosted Oct 7, 2003, 11:53 AM EDT
chrishornbergerRank #2,700 · 517 reputationPosted Oct 7, 2003, 12:01 PM EDT
katanaRank #7,224 · 246 reputationPosted Oct 7, 2003, 1:13 PM EDT
chrishornbergerRank #2,700 · 517 reputationPosted Oct 7, 2003, 2:08 PM EDT