In C#, the following type-inference works:
var s = \"abcd\";
But why can\'t the type be inferred when the variable is a constant?
T
I agree with Eric that this is ugly as sin:
const var s = "abcd"
But why not simply this?
const s = "abcd"
Seems like a reasonable syntax to me.