namespace AssemblyA { class Class1 { public Class(int val1, int val2) { Console.WriteLine("Constructor with the values {0},{1}"+" in domain {2} called",val1,val2,AppDomain.CurrentDomain.FriendlyName); } static void Main(string[] args) { Console.WriteLine("Main in domain {0} called", AppDomain.CurrentDomain.FriendlyName); } } }
应用域和装配件
最新推荐文章于 2022-07-16 00:58:08 发布