Created
February 9, 2013 18:11
-
-
Save yetanotherchris/4746383 to your computer and use it in GitHub Desktop.
Visibility example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class FooBarDaddy | |
{ | |
public void Run() | |
{ | |
Foobar1 fb = new Foobar1(); | |
} | |
/// Only accessible inside FooBarDaddy | |
private class Foobar1 | |
{ | |
/// Only accessible inside Foobar1 | |
private interface IFoo | |
{ | |
} | |
/// Only accessible inside Foobar1 | |
private struct Foobar2 | |
{ | |
/// Only accessible inside Foobar2 | |
private struct Foobar3 | |
{ | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment