Answer: Yes, it is better to use static class to initialize global variables.
(1) Performance is increased as static members are efficinet handled in dotnet framework.
(2) Using class eliminates the boxing and unboxing steps.
(3) Less memory usage
Thanks and Regards
Akiii
|
Alert Moderator