Which of the following methods of the Regex class will you use to accomplish the task?

You work as a Software Developer for ManSoft Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You create an application that will be used by all the branches of the company. You use the Regex class in the application to validate some strings. You want to search an input string for an occurrence of a regular expression.

Which of the following methods of the Regex class will you use to accomplish the task?
A . Match
B . Matches
C . Equals
D . IsMatch

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments