How .NET overrides non-virtual method in .NET Remoting?
问题 Consider following piece of code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RemotingNonVirtualCall { class Program { static void Main(string[] args) { var domain = AppDomain.CreateDomain("Second Domain"); A extA = (A)domain.CreateInstanceAndUnwrap(typeof(A).Assembly.FullName, typeof(A).FullName); Console.WriteLine(extA.CurrentDomain()); } } [Serializable] sealed class A : MarshalByRefObject { public string CurrentDomain() { return