C Sharp (C#) - File IO
What will be the output of this code?
Assuming class Person { public string Name { get; set; } public int Age { get; set; } }
using System.Text.Json;
var person = new Person { Name = "Anna", Age = 25 };
var json = JsonSerializer.Serialize(person);
Console.WriteLine(json);Assuming class Person { public string Name { get; set; } public int Age { get; set; } }
