您需要創(chuàng)建可與COM一起互操作的類定義。您需要確保COM應(yīng)用程序能夠創(chuàng)建類的實(shí)例并且能夠調(diào)用GetAddress方法。您應(yīng)該使用哪個代碼段?()
A.A B.B C.C D.D
Certkiller .com網(wǎng)站使用一個叫做Application1的應(yīng)用程序,他使用.NetFramework1.0版本進(jìn)行編譯。 這個應(yīng)用程序當(dāng)前運(yùn)行在一個同時安裝了.Net Framework 1.0和1.1版本的計算機(jī)上 你必須將程序重新部署到一臺安裝了1.1和2.0環(huán)境的新計算機(jī)上。你必須要確保程序會使用計算機(jī)上的1.1的.NetFramework中的類庫。 你應(yīng)該怎么做?()
A. B. C. D.
You are developing a class library. Portions of your code need to access system environment variables. You need to force a runtime SecurityException only when callers that are higher in the call stack do not have the necessary permissions. Which call method should you use?()
A.set.Demand(); B.set.Assert(); C.set.PermitOnly(); D.set.Deny();