New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 32 Topic 4 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 32 Topic 4 Discussion

GSSP-.NET Exam Topic 4 Question 32 Discussion:
Question #: 32
Topic #: 4

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application for the company. You need to validate the phone number passed to a class as a parameter in the application. Which of the following is the most effective way to verify that the format of the data matches a phone number?


A.

Regular expressions


B.

Nested If statements


C.

Use the String.Length property


D.

A try/catch block


Get Premium GSSP-.NET Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.