Jagged Arrays in C# Interview Questions 2019-2020-21 - 3

Question: 11

List the classes used for regular expression?

Regex

Match collection

Match

Question: 12

What is called verbatim string?

A string start with @ symbol is called as verbatim strings. The advantage of this string creation is, it can involve the escape sequences in the strings.

Question: 13

How can you sort the elements of the array in descending order?

By calling Sort () and then Reverse () methods.

Question: 14

Is there regular expression (regex) support available to C# developers?

Yes. The .NET class libraries provide support for regular expressions. Look at the documentation for the system.Text.Regular Expressions namespace.

Related Questions