El siguiente es un proyecto que muestra el CallStack en C#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
(..)
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.StackTrace callStack = new System.Diagnostics.StackTrace();
this.Memo.Clear();
foreach (System.Diagnostics.StackFrame frame in callStack.GetFrames() )
{
this.Memo.AppendText(frame.GetMethod().ToString()+"\n");
}
}
}
}