Skyqula
Skyqula

Reputation: 449

How to highlight a type in comment?

I saw the following comment and noticed that Visual Studio highlights the type (DateTime).

enter image description here

How would I do this in my own C# comments?

Upvotes: 3

Views: 1816

Answers (3)

Bucketcode
Bucketcode

Reputation: 481

using <see cref="member"/>

I think this is answer

Upvotes: 5

mybirthname
mybirthname

Reputation: 18127

enter image description here

I think this is what you need: Location: Tools/Options/Envoirment/Fonts and Colors

Upvotes: 0

Selman Gen&#231;
Selman Gen&#231;

Reputation: 101681

You can use <see cref=""> tag for that:

<see cref="DateTime">

Upvotes: 1

Related Questions