I have class like,
public class GraphDataTable
{
string customer;
public string Customer
{
get { return customer; }
set { customer = value; }
}
string target;
public string Target
{
get { return target; }
set { target = value; }
}
}
and I have another class where I am creating object of GraphDataTable, and list which List which contains {FORECASTED, QUALIFIED, QUOTED, WON, LOST}
Now, I want to create new properties which are added in GraphDataTable class from list.
How I can achieve this?
So new result which I require is GraphDataTable contains properties Customer, Target, FORECASTED, QUALIFIED, QUOTED, WON, LOST.
Thanks in advance.