Attribute Style Preference
Not sure if #help is the right place for this but I was hoping for some thoughts on attribute style.
It goes without saying that functionally, the two styles make absolutely no difference. They are handled identically by the compiler.
I have noticed however that decompiled C#, such as when looking at lowered code in SharpLab, tends to prefer style 1. I think that's mostly because it's easier to render it as C# that way, not because of any functional reason.
Which style do you guys prefer, and what is your reasoning? Does it depend, e.g. based on the length of the attribute name or the number of attributes? Do you mix and match styles?
It goes without saying that functionally, the two styles make absolutely no difference. They are handled identically by the compiler.
I have noticed however that decompiled C#, such as when looking at lowered code in SharpLab, tends to prefer style 1. I think that's mostly because it's easier to render it as C# that way, not because of any functional reason.
Which style do you guys prefer, and what is your reasoning? Does it depend, e.g. based on the length of the attribute name or the number of attributes? Do you mix and match styles?