public static string GetTypeByProposition(string proposition) { if (AType.IsTrue(proposition)) { return(AType.GetPropositionType().ToUpper()); } if (EType.IsTrue(proposition)) { return(EType.GetPropositionType().ToUpper()); } if (IType.IsTrue(proposition)) { return(IType.GetPropositionType().ToUpper()); } if (OType.IsTrue(proposition)) { return(OType.GetPropositionType().ToUpper()); } //TODo:- Add Hidden & Exclusive Proportion return(INVALIDTYPE); }