3 ms·
It'd never pass code review on Hacker News but the classic C# hack for that is just to make a class called Global or whatever and throw your must-be-everywhere
by Nition 10y ago
It'd never pass code review on Hacker News but the classic C# hack for that is just to make a class called Global or whatever and throw your must-be-everywhere functions in there.
- swalsh 10y agoI think most applications in C# end up with a Utilities class/library.
- ruleabidinguser 10y agoc++ namespaces are so great for this. Don't know why theyre not available in most languages.