I'm stuck with a problem where I need to convert hastable contents to a object type at runtime... below is the code..
//
Portfolio pf = GlobalVariables.portfolio;
IEnumerator pfDealsEnum = pf.getPortfolioDeals().GetEnumerator();
while (pfDealsEnum.MoveNext()){
Deal deal = (Deal)pfDealsEnum.Current;
}
I dont know why this is not converting, I used to do such things in VB.net but here in C#. this is not working.
Any help is more than welcome. Please respond asap.
Regards
Rajiv