9/82
\frametitle{LinQ: Querying Collections}

  \begin{code}{\textwidth}{}
    \begin{lstlisting}[language=Java,basicstyle=\ttfamily\small,morekeywords={var,from,in,Where,Select,foreach,Console,orderby}]
var contacts =
  customers
  .Where(c => c.State == "WA")
  .Select(c => new{c.Name, c.Phone});