I try to resist just parroting other people's posts, but this one is too cool. If the StackTrace and StackFrame classes picque your interest then I highly recommend looking at the Rotor sources - there's some pretty neat stuff in there. [From Sean and Scott - you are subscribed, right?]
Question : How do you get the name of the executing method/name of the method that called you/name of the type your in, etc?
Answer:
System.Diagnostics.StackTrace st = new System.Diagnostics.StackTrace();
System.Diagnostics.StackFrame sf = st.GetFrame(0);
MessageBox.Show(sf.ToString());
If you just want the name of the method, then the GetMethod method return a MethodInfo object, so you can just say :
MessageBox.Show(sf.GetMethod().Name);
To get to the type, it's just:
MessageBox.Show(sf.GetMethod().ReflectedType.ToString());