单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()
A.Set the CurrentCulture property explicitly to the respective culture for each language.
B.Set the CurrentCulture property explicitly to IsNeutralCulture for each language.
C.Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.
D.Set the CurrentUICulture property explicitly to the respective culture for each language.
相关考题
-
多项选择题
YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5.Youplantodeploytheapplicationinmultiplecountriesandlanguages.Youneedtoensurethattheapplicationmeetstheglobalizationrequirements.Whichtwoactionsshouldyouperform?()
A.Handle server names and URLs as ASCII data
B.Use Unicode strings throughout the application
C.Use the NumberFormatInfo class for numeric formatting
D.Handle strings as a series of individual characters instead of entire strings
E.Avoid usage of the SortKey class and the CompareInfo class for sorting purposes -
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5. The application requires a thread that accepts a single integer parameter. You write the following code segment (Line numbers are included for reference only.) Thread myThread = new Thread(new ParameterizedThreadStart(DoWork)) ; myThread.Start(100); You need to declare the method signature of the DoWork method. Which method signature should you use?()
A.public void DoWork();
B.public void DoWork(int nCounter);
C.public void DoWork(object oCounter);
D.public void DoWork(Delegate oCounter); -
单项选择题
You are creating a Windows application for graphical image processing by using the .NET Framework 3.5. You create an image processing function and a delegate.You plan to invoke the image processing function by using the delegate.You need to ensure that the calling thread meets the following requirements: (1)It is not blocked when the delegate is running (2)It is notified when the delegate is complete What should you do?()
A.Call the Invoke method of the delegate.
B.Call the BeginInvoke and EndInvoke methods of the delegate in the calling thread.
C.Call the BeginInvoke method by specifying a callback method to be executed when the delegate is complete.Call the EndInvoke method in the callback method.
D.Call the BeginInvoke method by specifying a callback method to be executed when the delegate is complete.Call the EndInvoke method of the delegate in the calling thread.
