title: Get Thread Name from inner object method
body: <p>i know i can get the Thread Name by calling Thread.CurrentThread.Name</p>
  
  <p>but i got a tricky scenario.</p>
  
  <p>i created two thread, each launch a new object (says objA) and run a method.</p>
  
  <p>inside the object (objA) method (objAM), i create another object (says objB) and run a method (objBM).</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading;
  
  
  namespace ConsoleApplication1
  {
      class Program
      {
  
          static void Main(string[] args)
          {
              TESTA a = new TESTA();
          }
  
      }
  
      class TESTA
      {
          private Thread t;
  
          public TESTA()
          {
              t = new Thread(StartThread);
              t.Name = "ABC";
              t.IsBackground = true;
              t.Start();
  
              t = new Thread(StartThread);
              t.Name = "XYZ";
              t.IsBackground = true;
              t.Start();
  
          }
  
          private void StartThread()
          {
              objA thisA = new objA();
          }
      }
  
      class objA
      {
          private System.Threading.Timer t1;
  
          public objA()
          {
              objAM();
              t1 = new Timer(new TimerCallback(testthread), null, 0, 1000);
          }
  
          private void objAM()
          {
              Console.WriteLine("ObjA:" + Thread.CurrentThread.Name);
          }
  
          private void testthread(object obj)
          {
              objB thisB = new objB();
          }
      }
  
      class objB
      {
          public objB()
          {
              objBM();
          }
  
          private void objBM()
          {
              Console.WriteLine("ObjB:" + Thread.CurrentThread.Name);
          }
      }
  }
  </code></pre>
  
  <p>but the value of Thread.CurrentThread.Name in objB return empty.</p>
  
  <p>How can i get the Thread Name inside objBM?</p>