您正在編寫(xiě)一個(gè)用于壓縮字節(jié)數(shù)組的方法。將在名為document的參數(shù)中將數(shù)組傳遞到此方法。您需要壓縮傳入的字節(jié)數(shù)組并以字節(jié)數(shù)組的形式返回結(jié)果。您應(yīng)該使用哪個(gè)代碼段?()
A.A B.B C.C D.D
You are developing a method to hash data with the Secure Hash Algorithm. The data is passed to your method as a byte array named message.You need to compute the hash of the incoming parameter by using SHA1.You also need to place the result into a byte array named hash. Which code segment should you use?()
您編寫(xiě)以下代碼來(lái)實(shí)現(xiàn)MyClass.MyMethod函數(shù)。 您需要從程序集中的某個(gè)無(wú)關(guān)類動(dòng)態(tài)調(diào)用MyClass.MyMethod函數(shù)。您應(yīng)該使用哪個(gè)代碼段?()