public bool ExecuteComparison() { ArgumentValidator(); switch (ComparisonType.ToLower()) { case "string": return(DoComparison <string>()); case "int": return(DoComparison <int>()); case "int64": return(DoComparison <long>()); case "uint32": return(DoComparison <uint>()); case "uint64": return(DoComparison <ulong>()); case "double": return(DoComparison <double>()); case "float": return(DoComparison <float>()); case "char": return(DoComparison <char>()); case "byte": return(DoComparison <byte>()); case "bool": return(DoComparison <bool>()); case "guid": return(DoComparison <Guid>()); case "datetime": return(DoComparison <DateTime>()); default: throw new ArgumentException( $"ComparisonType value of {ComparisonType} is invalid or not yet implemented.", $"ComparisonType"); } }