Per Øyvind

My feedback

  1. 3,388 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    34 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    Per Øyvind commented  · 

    I support this idea, since this will help with compile time checking of constructor arguments.
    One example of where this could be useful is for any algorithms that would require a Keyed hash algorithm where the point of the algorithm would be to initialize with a password.
    To make it less cluttered, and to pass the meaning, one should at least allow naming of the parameters or add a way to require implementers of a specific class or interface to provide a constructor with said arguments. and to only allow referencing the empty constructor or one of the required constructors.

    Per Øyvind supported this idea  · 
  2. 6 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    Per Øyvind supported this idea  · 
    Per Øyvind shared this idea  · 
  3. 7 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
    Per Øyvind supported this idea  · 

Feedback and Knowledge Base