\begin{slide}{Attribute in C\#}

(properties, übernommen von Delphi)

\begin{verbatim}
class C {
   private int foo;
   int Foo {
      get { return this.foo; }
      set { this.foo = value; }
   }
}
C x; C y; ... x.Foo = 1 + y.Foo;
\end{verbatim}


\end{slide}
%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
