public IinputReader Reader(string readerChoice) { IinputReader reader = null; switch (readerChoice) { case "xml": reader = new xmlRead(); break; case "json": reader = new jsonRead(); break; default: break; } return reader; }
public IinputReader Reader(string readerChoice) { IinputReader reader = null; switch (readerChoice) { case "xml": reader = new xmlRead(); break; case "json": reader = new jsonRead(); break; default: break; } return(reader); }