logo

Crowdly

Browser

Add to Chrome

string js = $"{{\"n\":{decimal.MaxValue} }}"; decimal d = JsonDocument.Parse(js)...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

string js = $"{{\"n\":{decimal.MaxValue} }}";

decimal d = JsonDocument.Parse(js).RootElement.GetProperty("n").GetDecimal();

System.Console.WriteLine(d == decimal.MaxValue);

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on do.ipo.kpi.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome