假設我們有下面的代碼:註釋的存儲位置以及如何提取它們?
/// <summary>
/// Test class comment
/// </summary>
public class Test
{
/// <summary>
/// Method comment
/// </summary>
/// <param name="a">First parameter comment</param>
/// <param name="b">Second parameter comment</param>
/// <returns>Return value comment</returns>
public int Foo(int a, int b) { return 1; }
}
哪裏組裝的C#編譯器店評論?如果IntelliSence可以使用評論,我也想。
它不會將它們存儲在集合LY。 – kemiller2002