News for hackers. Stuff that matters.
Re:Welcome to C# 9.0 by contextfree on Thursday May 21, 2020 @12:57AM (#23254927)
since c# 3 (2008) this would normally be expressed as

public string TypeName { get; set; }

not sure why it's not here, could just be older code. The [Parameter] etc stuff is all powershell-specific metadata that defines how to use it from the powershell language.

Re:Welcome to C# 9.0 by jeffdavis on Thursday May 21, 2020 @02:18AM (#23255381)
Thank you. That's why I asked for modern c#.

It would be nice to see if some other codebases managed to free themselves from some of this cruft and make something more approachable.