摘要:
做现在的引擎,需要支持COM+/.NET/WebService/Application,WebService的还没有搞定。需求很简单,提供一个WebService的连接,提供一堆参数,然后引擎对它实例化、运行之。代码应该类似于这样:string assembly = @“c:\temp\salesorder_service.dll“;string url = “http://www.langcha... 阅读全文
摘要:
我们都知道,string类是一个reference type。看下面这段代码: string s1 = "hello";string s2 = s1;Console.WriteLine(s1);Console.WriteLine(s2);s1 = "world";Console.WriteLine(s1);Console.WriteLine(s2);按理来说,s1被赋予world之后,那么s2应... 阅读全文