Mike MarynowskiMike Marynowski

My feedback

  1. 3,188 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…)
      34 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      Mike MarynowskiMike Marynowski commented  · 

      @tsahi @david - It's perfectly possible to constrain to nullables, it just works a little backwards:

      public T? AddNullables<T>(T? v1, T? v2) where T : struct

      You constrain on the value type generic argument.

      Mike MarynowskiMike Marynowski supported this idea  · 
    • 387 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 →
        Mike MarynowskiMike Marynowski supported this idea  · 
      • 5,228 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…)
          92 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
          Mike MarynowskiMike Marynowski supported this idea  · 
        • 955 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…)
            17 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
            Mike MarynowskiMike Marynowski commented  · 

            +1 to Matt Dotson's comment...so simple and logical, I can't believe it wasn't included at the same time that extension methods were introduced!

            Mike MarynowskiMike Marynowski supported this idea  · 

          Feedback and Knowledge Base