ContainsKey
someone know why, ContainsKey have error CS1061 Severity Code Description Project File Line Suppression State
Error CS1061 'JObject' does not contain a definition for 'ContainsKey' and no accessible extension method 'ContainsKey' accepting a first argument of type 'JObject' could be found (are you missing a using directive or an assembly reference?) Nuclear C:\Users\hewet\OneDrive\Desktop\NuclearSource\Nuclear\Program.cs 1179 Active
7 Replies
Why are you using JObject tomfoolery instead of using proper classes?
And
WebClient
to bootim more good
with
With what, discarding the type system and writing three times the amount of code you actually need?
should i use TryGetValue
No, you should deserialize the JSON to a proper class
Or use
httpClient.PostAsJsonAsync<Result>(url, data)
ok thx
What are you making?