code_junkie

Nested class in .net

Nov 11th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. public class Foo() {
  2. public Foo() { }
  3.  
  4. private Bar m_Bar = new Bar();
  5.  
  6. public Bar TheBar { get { return m_Bar; } }
  7.  
  8. public class Bar { ... }
  9. }
Add Comment
Please, Sign In to add comment