What does 3 '/'s in a row do in C#?
c#, comments
Solution
It denotes an XmlComment, more of which can be read about on MSDN. For example,
/// <summary>
/// Method summary - a method that does something
/// </summary>
/// <param name="i">Description of param</param>
/// <param name="s">Description of param</param>
/// <returns>An object of some sort or other</returns>
public object AMethod(int i, string s)
{
}
Edit: as suggested below, it also provides IntelliSense guidance, as the image below demonstrates.
Problem
I was coding along in lala land when suddenly I typed a 3'd '/' in a comment. Originally a comment goes green with 2 '/'s : But with the third dash, it goes grey '///' : Does this have any specific meaning? Or did it just change color?