WebsiteSetting
{
public string Name Age {get; set;}
public string Language {get;set}
public int ActiveSeason {get;set}
......
......
}
I have a class like this.when web page initialized,I start this class for every loaded pages and send this values to other classes as parameter.
for example ;
Student class use ActiveSeason properties , other classes also use those values as parameter.
My First question ,what is the best way to do that.how I descrice this class,for example constant class or what. Second question ,Is there any easy way to do that.I mean passing the those parameters every queries make the code messy,and diffucult to read.