(15)Answer
(Choose 1 answer)
A. 2:30
B. 2:31
C. 2:10.5
D. 2:20.5
public class Order{
public int Orderld { get; set; }
public double Total{ get; set; }
}
class Program{
static void Main(string[] args){
string orderJson = @"["Orderld 1, "Total: 10.5},
["Orderld""": 2, ""Total""":20.5}]";var orders = JsonSerializer.Deserialize<List<Order>>(orderJson);Console.WriteLine($"{orders.Count): {orders.Sum(o=>o. Total)}");Console.ReadKey();}}
Which one of the following is the output of the above code?