c# - XML comment for method main? -


in c# have written xml comment main method:

/// <summary> /// comment. /// </summary> public static void main(string[] args) { 

but visual studio warns me against it:

xml comment not placed on valid language element main 

what recommended way comment on main method in c#?

certain language elements aren't allowed have xml documentation such namespaces , in case main methods also. documentation says , has links show other xml do's , don'ts.

the hacky answer possibly suggest if wanted comment use double quotes // instead of triples. triples processed documentation class , causing background issues.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -