(12
Answer (Choose 1 answer)
Which of the following is correct considering the below code?
List<string> L = new List<string>(){ "Screen", "Mouse", "Laptop" };
int C = 0:foreach (var e in L)
{ C += e.Length;
} Console.WriteLine($"C={C}");
A. The output of this code is: C=17
B. The output of this code is: C=18
C. We cannot use var e in the foreach statement and we have to use string e instead.
D. The output of this code is: C=16
Elt