Justin ChaseJustin Chase

My feedback

  1. 245 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      3 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
      Justin ChaseJustin Chase commented  · 

      Can you give an example of when it's not appropriate? Also, as a work around you can fairly easily make your own single file generator and apply it to the .resx file and generate whatever code you want.

    • 377 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        12 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
        Justin ChaseJustin Chase commented  · 

        Use HasKey(theKey) instead of TryGetValue.

      • 315 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          14 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
          Justin ChaseJustin Chase commented  · 

          I would recommend deleting commented out code. Use source control to preserve history of old code.

          http://agilology.blogspot.com/2009/10/domt-comment-it-out-delete-that-code.html

        Feedback and Knowledge Base