Can we have 'wtf' added as an alias for the keyword, 'var'? RRS feed

  • Question

  • In some of our code, we have interesting things that are being assigned by var:

    var sites = Enum.GetValues(typeof(MySite)).Cast<MySite>();

    I think it would be helpful if we were allowed to refactor those variables to be defined with 'wtf' instead of 'var' as it enhances the readability.

    wtf sites = Enum.GetValues(typeof(MySite)).Cast<MySite>();

    So, could we have support for the added alias in the next iteration of C#?

    Monday, May 19, 2014 7:43 PM