FAQ Database Discussion Community


Instantiating using factory throwing exception

c#,service-factory
I'll start this by saying I'm am fairly new, so I might be making a very simple mistake, but I'm just not seeing it. I have the following factory: using System; using System.Collections.Specialized; using System.Configuration; namespace SportsCardInventory.Services { public class Factory { public IService GetService(string servicename) { Type type; Object...