I suggest you ...

Expression Bodied Properties

The following paste is an example of code that compiles in visual studio that does not appear to be supported by dotnetfiddle: https://dotnetfiddle.net/224Hvk

I was just making a quick draft to make sure I understood the way this kind of assignment behaved to find it wouldn't compile on dotnetfiddle

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    John Call shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base