Home » C# Programming » Strings

What will be the output of the C#.NET code snippet given below? namespace CuriousTabConsoleApplication { class SampleProgram { static void Main(string[ ] args) { string str= "Hello World!"; Console.WriteLine( String.Compare(str, "Hello World?" ).GetType() ); } } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!