title: How to know caller class C#
body: <p>I have the below class structure. Class A is called from constructor of Class B and C.</p>
  
  <pre><code>Class A
  {
      A()
  }
  
  Class B
  {
      B()
      {
          A();
      }
  }
  
  Class C
  {
      C()
      {
          A();
      }
  }
  </code></pre>
  
  <p>Is there a way where I can get to know if the call to A() comes from B() or C()?
  I do not want to pass any object in the constructor.</p>