MiralityMirality

My feedback

  1. 557 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…)
      9 comments  ·  Visual Studio IDE » Project  ·  Flag idea as inappropriate…  ·  Admin →
      MiralityMirality supported this idea  · 
    • 187 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…)
        19 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
        MiralityMirality commented  · 

        You can do that yourself with overloading.

        SomeType DoSomething(params AnotherType[] array)
        {
        ...
        }

        SomeType DoSomething(IList<AnotherType> list)
        {
        return DoSomething(list.ToArray());
        }

        (Or you can go the other way with ToList(), if you prefer.)

      • 697 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…)
          9 comments  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
          MiralityMirality supported this idea  · 

        Feedback and Knowledge Base