← Back to Question List
C# Code Walkthrough #37
Common String Methods
📄 Code
Read carefully — what does this print?1string s = "Hello";2Console.WriteLine(s.Length);3Console.WriteLine(s.ToUpper());4Console.WriteLine(s.Substring(1, 3));