MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of given code snippet? static void Main(string[] args) { string h = "i lovelife"; string h1 = new string(h.Reverse().ToArray()); Console.WriteLine(h1); Console.ReadLine(); } |
| A. | Efil evoli |
| B. | Lifelove i |
| C. | Efilevol i |
| D. | Efil evol i |
| Answer» D. Efil evol i | |