Earlier quoted context omitted.
If you're worried about memory usage, then neither is great (C# is a little better than Java), you may want to look into Go or Rust.
In this list we also have D and Swift. Good on yr mem, general purpose-y (Go is not a GP lang), quite popular.
Disagree, especially on the same level as the others with D, and especially concerning cross-platform ecosystem with Swift.