public Method CreateMethod(Method copy) { Method method = new Method(copy); Methods.Add(method); return method; }
public Method CreateMethod() { Method method = new Method(); Methods.Add(method); return method; }