public GeneralResult CreateProject(string projectname, string testcasePrefix, string notes = "") { GeneralResult result = null; stateIsValid(); object o = proxy.createTestProject(devkey, projectname, testcasePrefix, notes); handleErrorMessage(o); object[] olist = o as object[]; if (olist != null) { result = new GeneralResult(olist[0] as XmlRpcStruct); } return result; }