摘要:
参考:http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.releasecomobject.aspxThis method is used to explicitly control the lifetime of a COM object used from managed code. Yo... 阅读全文
摘要:
As a summary, there are three ways to create new test cases.1. According to the test spec. 2. According to the product code, logic in product code. (Guess this can be treated as white test)3. Abstract... 阅读全文
摘要:
LINQ to SQL Debug Virtualizerhttp://weblogs.asp.net/scottgu/archive/2007/07/31/linq-to-sql-debug-visualizer.aspxBuild a IQueryable Providerhttp://blogs.msdn.com/mattwar/archive/2007/07/30/linq-buildin... 阅读全文
摘要:
1. I was shocked. 我被电到了。记得第一次听老美说 "I was shocked." 我还以为她在说什么事情让她觉得很震惊 (shock)。其实不然,因为美国气候很干燥,所以很多金属物体的表面在冬天常常会带静电 (static electricity 或是简称 static),一碰到就会被电到。我自己就常被电的哇哇叫。这个 "I was shocked." 在这里其实指的就是被电到... 阅读全文
摘要:
1. The power is back on. 电又回来了。 知道了停电的说法,那电又来了要怎么说?很简单,就是 "The power is back." 或是 "The power is back on." 大家注意一下为什么会说成 back on 呢?因为这是指原来开著 (on) 的,后来关掉了,再把它打开的意思。(back on 就是说再回到 on 的状态)。这里我再举一个 back on... 阅读全文
摘要:
1. Is there any way we can move it? 我们有没有办法改地方.Way 就是办法, 你可以说, "Is there some other way...?" 就是有没有其它的办法. move it 可以指很多事, 如换教室, 换地点, 都可以用 move. 不要再说 change place 了. 这是有一次老师宣布在某间教室考试, 可是因为那间教室平时就很吵 , 所以... 阅读全文
摘要:
1. I just bought a brand new car. 我买了一辆新车. Brand new 感觉上比 new 还要来的更新一点. 凡是全新, 刚出厂的东西叫 brand new, 可能是说连商标(brand) 都还在上面的意思吧!2. He is really a tough guy; he takes no prisoner. 他很严格, 手下绝不留情. 这是我听老美形容他们教授的... 阅读全文