❔ ✅ Why am I getting error message CS0184?
I am trying to compare the return type of a generic method, which produces the following warning. How does the IDE knows my delegate will never be of that certain return type?

Type is an instance of int which will never be truefunc.Method.ReturnType.IsAssignableTo(typeof(int))func.Method.ReturnType and handle casewise for certain datatypes?System.Type world ... you're not linked anymore to the value of these variableis would need compare an actual returned value if you're doing an is int i assume not a typeusing (Con) looks suspicious, do you intend for this method to dispose of a connection it doesn't "own"?_cmd = new SqlCommand() is 

awaited methods is called
/close