Discussion:
Q: Assuming the string variable myvar contains the string literal "C# Programming", what will be written to the console for the following statements:
(a) Console.Write(myvar.IndexOf("Prog'',3);
(b) Console.Write(myvar.LastIndexOfAny('d');
(c) Console.Write(myvar.CompareTo("myvar");
(d) Console.Write(myvar.Substring(3,5);