问题
In Visual Studio, Intellisense sorts the fields of an object by alphabetical order. I am used to Delphi, where Intellisense sorts by (method, property, event) and then alphabetically.
Is there a decoration once can add to a class/struct definition to tell Intellisense how to sort fields?
回答1:
Unfortunately you cannot. It's a feature that's been requested but just hasn't made it in yet.
来源:https://stackoverflow.com/questions/4116688/can-i-tell-nets-intellisense-how-to-sort-fields