title: How to write a class that (like array) can be indexed with `arr[key]`?
body: <p>Like we do <code>Session.Add("LoginUserId", 123);</code>
  and then we can access <code>Session["LoginUserId"]</code>, like an Array, how do we implement it?</p>