Multivariable declaration

Topics: C# Language Design
Jan 9, 2015 at 6:44 AM
Edited Jan 9, 2015 at 6:51 AM
First of all, this is a feature that exists in most C style languages including C, C++, Java and Javascript (var):
int i = 32, g, fg = i;
But I wish this goes even a step further in C#, and it's a feature that's actually implemented in Go:
int Compare(double x, y)
    return x > y;
Meaning if there is no data-type, lookup the previous parameter's data type. Cool features that does save some verbosity (something I HATE!)

P.S. Someone has mentioned a similar request on the UserVoice website, but he proposed the wrong solution.