Debug.log or Console.WriteLine ??? I am confused. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Debug.log or Console.WriteLine ??? I am confused.

my second question is about name space , I see here that everything is in the main function, I see some people use name space to name the function and then write the code in the main function, can someone clarify please.... my third question is related to the first one , is there a difference between visual studio and monodevelop in c# commands. ... thankssss ....

20th Oct 2017, 11:29 AM
Adolph Chartouni
Adolph Chartouni - avatar
2 Answers
0
A namespace is just superclass. Sometimes companies have a namespace also system is a namespace. Console.Writeline is a nice way to log. But the messages appear in your output between real rules. If you use debug.log there messages appear in a separated log window.
20th Oct 2017, 3:46 PM
sneeze
sneeze - avatar
0
thank you for your answer appreciate. .. :))
20th Oct 2017, 4:40 PM
Adolph Chartouni
Adolph Chartouni - avatar