SyntaxFix
Write A Post
Hire A Developer
Questions
You can use typeof(T).
typeof(T)
private static string BuildClause<T>(IList<T> clause) { Type itemType = typeof(T); if(itemType == typeof(int) || itemType == typeof(decimal)) ... }