Are there any C # attributes that I can apply to class members to change the way they appear in Intellisense lists? It popped into my head when I was building a class with many static constants, and I (briefly!) Wanted it to look like an Intellisense enum.
Yes, this is stupid.
But that made me wonder if some crazy programmer could make class members differently in Intellisense? Make fields look like properties, etc.
For example, there is an Obsolete attribute:
[Obsolete("Stop using this. Really. It old.")] public int VariableThatIsReallyOld;
What is the prefix of the word [obsolete] to describe VariableThatIsReallyOld .
c # attributes intellisense
Shalom craimer
source share