Comment
noun
say it: “KOM-ent” /ˈkɒmɛnt/
Text in code, after // or between /* and */, that people read and the compiler ignores.
What is Comment in C#?
Comment — Text for people reading the code that the compiler ignores.
class GuestList
{
// Seats reserved for speakers.
int reservedSeats = 4;
}
In a sentence
- “I left a comment explaining why the tax rate is 7 percent.”
Level: Novice · More C# terms at this level
Updated