Multiple choice .net c-sharp

The proper way to convert a string to all lowercase is:

  1. String = string.ToLower(string);

  2. ToLower(string);

  3. string.ToLower();

  4. string.ToLower(string);

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To convert a string to lowercase in C#, call the ToLower() instance method on a string variable, like myString.ToLower(). Options A and D incorrectly pass the string as a parameter, and option B is not valid method call syntax.