CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Common String Methods

C# code walkthrough · Question 37
easyStrings

Code

Read carefully. What does this print?
1string s = "Hello";
2Console.WriteLine(s.Length);
3Console.WriteLine(s.ToUpper());
4Console.WriteLine(s.Substring(1, 3));

Your answer