c# - Make a static class in Visual studio -


i working on sitecore project, whereby want use global configuration variables enable me make changes in 1 file supposed everywhere in application if values happen change. have made static intermediary class, called plhelper. plhelper has access system configured variables. reason plhelper keeps returning null value, when know there exists value.

attempt access plhelper static class

the plhelper static class

the web.config file want access value

i think problem way made static class. appreciated thanks.


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -