Since c# can’t do method by method static variables, is this the proper way of porting from a langauge that can?

Lets say you had many methods with the same static variable name from c++. In order to port this code, you should probably preface or suffix each variable with the method name? Is that the proper methodology? It looks ugly, but guarantees no conflicts.

submitted by /u/goodnewsjimdotcom
[link] [comments]

Leave a Reply