I want to return an Interface and inside a switch statement I would like to set it. Is this a bad design?
private IResultEntity GetEntity(char? someType)
I dont know, which possibilities you have in c#, but it is still better to have one switch in a factory method than having switches all over the place. In a factory method, a switch is tolerable -- but better have it well documented.