I've a model class:
class Person()
{
public int firstName;
public int lastName;
}
I would like a class variable(age) to be added at the runtime so that my model now becomes:
class Person()
{
public int firstName;
public int lastName;
public int age; //to be added to the model class
}
I would like the variable to be added depending on the environment(Prod or Test) which is determined from web config. How can I achieve that?