1.

What is output for the set of code? static void Main(string[] args) { String obj = "hello"; String obj1 = "world"; String obj2 = obj; string s = obj + " " + obj1; Console.WriteLine(s.Substring(6 ,5)); Console.ReadLine(); }

A. Hello
B. Orld
C. World
D. O world
Answer» D. O world


Discussion

No Comment Found