MCQs > IT & Programming > C# > Which of the following statements is true about the code below? string[] lines = theText.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);

C# MCQs

Which of the following statements is true about the code below?

string[] lines = theText.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);

Answer

Correct Answer: It splits the string variable on a ‘\r\n’ line break.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it