Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Visibility example
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
You can’t perform that action at this time.