C# comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C# comments

Single comment - // Multi line comment - /* */ Is it just me, or does a multi line comment look a lot the same as what we use in CSS for a comment?

27th Jun 2019, 8:28 PM
MJ van den Berg
MJ van den Berg - avatar
1 Answer
+ 2
At least to my knowledge, a large amount of languages use the familiar // and /**/ for commenting code :) html is an exception with <!--> but other than that, you will encounter // almost everywhere. Oh, by the way, don't use // on CSS
27th Jun 2019, 9:12 PM
HNNX 🐿
HNNX 🐿 - avatar