C# - Trace Class

 
Provides a set of methods and properties that help you trace the execution of your code. This class cannot be inherited.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

My ex)


        public Form1()
        {
            Trace.WriteLine("Form1");
            
             ....
             ....
             ....
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            Trace.WriteLine("Form1_Load");

             ....
             ....
             ....
        }

        public void UpdateCharacters()
        {
            Trace.WriteLine("UpdateCharacters");
         
             ....
             ....
             ....
         }