You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET2005 as its application development pla

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET2005 as its application development pla

Post by answerhappygod »

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET2005 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply