I suggest you ...

allow properties for out and ref parameters

Allow properties in ref and out parameters.

Example:

public MyNumber { get; set; }

public void MyTest()
{
Increase(ref MyNumber);
}

private void Increase(ref int number)
{
number++;
}

1 vote
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Pablo shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base