7
Answer (Choose 1 answer)
What is the exact output of the below code?
List<string> A = new List<string>() { "Dana", "Rama", "John", "Kyle", "dori" };
var q = from a in A let b = a.ToUpper()
where a. StartsWith("D")
orderby a
select b;
foreach (string s in q)
{
}
Console.Write($"{s} ");
A. DANA
B. Dana
C. dori
D. DORI
Elt