@peterdrake I mean, you could just access it by key like Java as well, but the csharp line is wrapping up a key check and get in one there, so the Java line would need a containsKey around it. Scala would use a getOrElse etc…
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.
@peterdrake it’s just square brackets, so myDict[1] and you’re done