+ 2
What is and why do you use the "mark" attribute?
What is the "mark" attribute in C#? For example, in this script: namespace PlaygroundCodeQuestion { class Program { static void Main(string[] args) { //Here is written the mark attribute int mark = 85; //And even here if (mark < 50) { Console.WriteLine("You failed."); } else { Console.WriteLine("You passed."); } } } } I first thought it was a variable of some sort but after I've saw this was included on the SoloLearn attribute list. Am I saying something wrong or is it really "mark" an attribute??? Thanks for all the help đđ
3 Answers
+ 3
Well, clearly in the code above, mark is a variable name.
But in HTML, <mark></mark> is really an element that highlights some text.
+ 2
Yep, with HTML I've got no problems, I'm really far with that. âşď¸đ
But as I've just started with C#, I don't understand what the mark attribute is standing for. Thanks for the help anyway! đđ
+ 1
Glad to help!!!â