I read some properties from the XML file, including a string that refers to an llblgen object, for example, an article. At the moment, I set a pretty long
Select Case myString Case "article" return New ArticleEntity()
Etc. which gets pretty ugly as it gets longer and longer;). Is there a better way to do this?
(the above is vb.net, but C # examples are also great)
Morph source share