PRN292c_-_FA_2023_-_1_1180.webp
lanhoa86

PRN292c_-_FA_2023_-_1_1180.webp

  • Media owner lanhoa86
  • Ngày thêm
(Choose 1 answer)
var q = from A in N
Which of the following statements is correct considering the code below?string] N = new string[] { "Ahmad", "Mahmoud", "Sami", "Rama", "Reem", "Dana" };
orderby A descending where A.Length > 5
select A;
foreach (string S in N){}
Console.Write($"{S}");
A. The LINQ query selects the strings that have more than 5 characters and orders them in descending order.
B. This code is not correct because we did not determine the data type of the variable A
C. This code is not correct since "orderby" comes before "where", the "orderby" clause must come after the "where" clause.
D. The code is incorrect and it has any compile-time errors.


Exit 36

Thông tin

Category
PRN292c
Thêm bởi
lanhoa86
Ngày thêm
Lượt xem
67
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN292c_-_FA_2023_-_1_1180.webp
File size
62.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom