Vidyalelo
C# Programming · Q45

File Handling and Input Output in C Sharp

Programming · C# Programming · question 45

Q45

Which of the following statement is correct?

A.
reverse() method reverses some characters
B.
reverseall() method reverses all characters
C.
replace() method replaces all instances of a character with new character
Answer
D.
replace() method replaces first occurrence of a character in invoking string with another character

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board