code_junkie

How do you organize C# code in to files?

Nov 12th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. // ------ C.cs
  2.  
  3. public partial class C : IFoo
  4. {
  5. // ...
  6. }
  7.  
  8. // ------ C.Nested.cs
  9. partial class C
  10. {
  11. public class Nested
  12. {
  13. // ...
  14. }
  15. }
  16.  
  17. // ------ C.cs
  18.  
  19. public partial class C : IFoo
  20. {
  21. // ...
  22. }
  23.  
  24. // ------ C.Nested.cs
  25. partial class C
  26. {
  27. public class Nested
  28. {
  29. // ...
  30. }
  31. }
Add Comment
Please, Sign In to add comment