单项选择题
您需要为应用程序的员工提供特定于区域设置的服务。此外,您必须确保您使用一个独特的国家的标识符,可以用作键。若要访问数据库记录包含有关国家的具体信息,虽然您使用最小的存储容量为存储的密钥。你应该做什么?()
A.CultureInfo.Name应作为标识符用于国家
B.CultureInfo.GetHashCode应作为标识符用于国家
C.RegionInfo.GetHashCode应作为标识符用于国家
D.RegionInfo.Name应作为标识符用于国家
相关考题
-
单项选择题
YouarecreatinganassemblynamedAssembly1.Assembly1containsapublicmethod.TheglobalcachecontainsasecondassemblynamedAssembly2.YoumustensurethatthepublicmethodisonlycalledfromAssembly2.Whichpermissionclassshouldyouuse?()
A.GacIdentity Permission
B.Publisher Identity Permission
C.Data Protection Permission
D.Strong Name Identity Permission -
单项选择题
您正在Certkiller-WS554开发.NET Framework2.0 Windows窗体应用程序。应用程序必须提供支持多种语言和区域差异。您需要定义基于现有的文化和区域的自定义区域性。管理用户会在应用程序部署之前的最终用户的计算机上安装自定义区域性。并且,您需要选择要使用的类。你应该做什么?()
A.应使用CultureAndRegionInfoBuilder类
B.应使用CustomAttributeBuilder类
C.应使用RegioInfo类
D.应使用CultureInfo类 -
单项选择题
Youneedtocallanunmanagedfunctionfromyourmanagedcodebyusingplatforminvokeservices.Whatshouldyoudo?()
A.Create a class to hold DLL functions and then create prototype methods by using managed code.
B.Register your assembly by using COM and then reference your managed code from COM
C.Export a type library for your managed code.
D.Import a type library as an assembly and then create instances of COM object.
