This is a discussion on Difference between // comments, /* */ comments and /// comments within the C# Programming forums, part of the Software Development category; Hi guys can anyone explain about the difference between // comments, /* */ comments and /// comments?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Simple... // comments are comments until the end of the line... Code: int i = 1337; // This is a comment Code: for (int i = 12 /* Start at 12 */; i < 15 /* stop at 15 */; i++) {
if (i % 2 == 0) {
/* This
rules */
}
} (i won't sample here) |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java:Reference - Proper Comments | pranky | Java Programming | 0 | 02-23-2007 09:49 AM |