Tech Off Post

Single Post Permalink

View Thread: Learning C#
  • User profile image
    Dr Herbie

    ToString is a method, so it needs to me n.ToString()

    You could even get fancy and pass a culture-specific formatter using n.ToString(CultureInfo.CurrentUICulture)

     

    Herbie