public int MySimpleCallback(int x) { Console.WriteLine("AppDomain in MySimpleCallback: " + AppDomain.CurrentDomain.FriendlyName); return x; }