I am noticing more and more that our developers are using the keyword var in preference to actually casting the type, as an example
var check = context.ALLProducts.Any();
Obviously Any() is only ever going to return a boolean, so as far as I am concerned it should be set to a boolean. I've also seen examples where var is used on functions that return Int or string or any number of types that I don't think should be var.
So my question is - is there any real reason I should have an issue with var being used for everything, other than code readability and supportability? I'd like to reinforce my argument if possible other than saying I don't like it.