Question:Which of the following statements is true about the code below?
string[] lines = theText.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
 

A It splits the string variable on a system line break. 

B It splits the string variable on a ‘\r\n’ line break. 

C It splits the string variable on a system line break, while preserving the empty lines. 

D It splits the string variable on a system line break, while removing the empty lines. 

+ Answer
+ Report
Total Preview: 1013

Copyright © 2024. Powered by Intellect Software Ltd