Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COI believe it is an artistic use of "using" as well. I think that Samual Jack's post linking to a comment from Eric Gunnerson validates this implementation of "using". I can see excellent points made from both Andras and Eric on this.
      singulars
    2. COI talked to Eric Gunnerson about this a while back and according to him, it was the intention of the C# design team that using would denote scopes. In fact, he postulated that had they designed using before the lock statement, there might not even be a lock statement. It would have been a using block w/ a Monitor call or something. UPDATE: Just realized the next answer is by Eric Lippert who is also on the languages team. ;) Perhaps the C# team itself is not in full agreement about this? The context of my discussion w/ Gunnerson was the TimedLock class: http://bit.ly/lKugIO
      singulars
    3. CO@Haacked - Amusing isn't it; your comment totally proves my point; that you'd spoken to one guy on the team and he was all for it; then pointing out Eric Lippert below, from the same team disagrees. From my point of view; C# provides a keyword that exploits an interface and also happens to yield a nice looking code pattern that works in so many scenarios. If we're not supposed to abuse it, then C# should find another way to enforce that. Either way, the designers probably need to get their ducks in a row here! In the meantime: `using(Html.BeginForm())` sir? don't mind if I do sir! :)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload