In Visual C# you can create documentation for your code by including XML tags in special comment fields in your source code directly before the code block they refer to. For example:
/// <summary>
/// This class performs an important function.
/// </summary>
public class MyClass{}