Correct way to convert a string to uppercase using string class method()?
A. Upper()
B. ToUpper()
C. Object.ToUpper()
D. None of the mentioned
Answer:A
Correct way to convert a string to uppercase using string class method()?
A. Upper() B. ToUpper() C. Object.ToUpper() D. None of the mentioned
Explanation: string s1 = “Hello I Love Csharp “;