Vidyalelo
C# Programming · Q103

Arrays and Strings in C Sharp

Programming · C# Programming · question 103

Q103

What will be the output of the following C# code? class Program static void Main(string[] args) String c = "i love Csharp"; bool a; a = c.StartsWith("I"); Console.WriteLine(a); Console.ReadLine();

A.
true
B.
false
Answer
C.
0
D.
1

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board