Last Updated: December 26, 2018
·
1.661K
· wowca

Visual Studio XML Comments

When working in a large team, of even alone (because you'll forget about most functions that you wrote 1/2 year ago) use quick XML comments.

It's super easy and it's really not much work, but Intellisense will show all the parameters and the description, when you're calling the function.

Just go to the line above your function and:

For C#: Use three slashes

For VB.net: Use three single apostrophes (')

After you do this, Visual Studio will automatically add a block of comments just above your function (e.g:)
Picture