Generics Type parameter - runtime
Is it possible to change the type parameter of an ilist at runtime
public IList<T> ResultEO;
at runtime change to :
public IList<Plan> ResultEO;
public IList<PlanAssig> ResultEO;
where Plan,PlanAssig is a class which is set based on the paramter value,
also how do i declare T?I dont have any generic class T.
I am new to generics so not able to figure it out.
|All times are GMT. The time now is 10:37 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.