-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
I'm not positive, but I think there's a mistake here, or at least something confusing. Each of the examples in this listing include a comment showing the expected output (for example: // C#, COBOL, Java). But the final two examples include a comment preceding the example, and also a comment after.
Console.WriteLine($@" ..: {
// C#, COBOL, Java, C++, TypeScript, Swift, Python, Lisp, JavaScript
string.Join(", ", languages[..]) // Python, Lisp, JavaScript
}");
I believe the comments preceding the final two examples are correct and the comments following them are a copy/paste mistake and should be removed.
Metadata
Metadata
Assignees
Labels
No labels