What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You use a Windwos XP Professional client computer named Certkiller -WS554 as your development computer.
You are developing a .NET Framework 2.0 application on a Certkiller -WS554.
The application will be used globally and must be able to represent characters in the following languages: English, Chinese Traditional, Hebrew and Tamil.
Your application is required to provide error detection for invalid sequences of characters whilst your application must also optimize storage.
What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You use a Windwos XP Professional client computer named Certkiller -WS554 as your development computer.
You are developing a .NET Framework 2.0 application on a Certkiller -WS554.
The application will be used globally and must be able to represent characters in the following languages: English, Chinese Traditional, Hebrew and Tamil.
Your application is required to provide error detection for invalid sequences of characters whilst your application must also optimize storage.
What should you do?

A.
Encode the characters in your application using the UTF8Encoding class.

B.
Encode the characters in your application using the UTF7Encoding class.

C.
Encode the characters in your application using the UTF32Encoding class.

D.
Encode the characters in your application using the UTF16Encoding class.

Explanation:
To successfully enable error detection and make the class instance more secure you should make use of the UTF8Encoding class in the scenario.
Incorrect Answers:
B: The Encoding class used in this option UTF7Encoding does not provide any error detection and should not be used in the scenario.
C, D: The Encoding classes in these options should not be used in the scenario because the UTF16Encoding class represents each character as a sequence of one to two 16-bit integers and the UTF32Encoding represents each code point as a 32-bit integer.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


seenagape

seenagape

I agree with the answer. A