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:)
Written by Peter Trobec
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vb.net
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#