TRS501_-_SU_2023_-_H1_-_RE_-_V_75.webp
G

TRS501_-_SU_2023_-_H1_-_RE_-_V_75.webp

  • Media owner Grey93
  • Ngày thêm
(Choose 1 answer)
A. ["fullName":"john","age":20}
B. ("firstName":"john","age":20}
C. ("firstName":"john"}
D. ["fullName":"john"}
public class Student{
[JsonPropertyName("fullName")]
public string firstName { get; set; }
public int age{ get; set; }
}
//-
class Program {
FUOVERELOW.COM
static void Main(string[] args){Student john = new Student {firstName = "john", age=20 };
Console.WriteLine(strJson);Console.ReadKey();
var strJson = JsonSerializer.Serialize(john);}
} Which one of the following is the output of the above code?
an tot ni
Exit 8
Chưa có bình luận nào.

Thông tin

Category
TRANS 5
Thêm bởi
Grey93
Ngày thêm
Lượt xem
396
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom