3
Reply

What’s the difference between // comments, /* */ comments and /// comments?

Dinesh Beniwal

Dinesh Beniwal

18y
9.1k
0
Reply

    ' // 'It is a single line comment. '/* */' It is a multiple comments. '///'It is used for XML documentation.

    // for single line /**/ for multiple lines /// Code comment

    Single-line, multi-line and XML documentation comments.