C
CSharper
I have a hashtable which has key and value. If the key is set to 'a'
then I need to create a class1 and if it has key 'b' then I need to
create class2 etc. (There is no name relation between the key and
class name), Right now I am using switch/case to do it. Is it possible
to do the same in Linq?
Thanks,
then I need to create a class1 and if it has key 'b' then I need to
create class2 etc. (There is no name relation between the key and
class name), Right now I am using switch/case to do it. Is it possible
to do the same in Linq?
Thanks,