Tech Off Post

Single Post Permalink

View Thread: Ideas for C# 5.0
  • TommyCarlier

    Bass said:
    staceyw said:
    *snip*

    There is no suffix literal for Int32 and Int64, try doing a var on a literal over 3 billion in value, the compiler will automatically define it as an Int64.

    var i = 123L; // the type of i is long/Int64