Gets a value indicating whether the
Type is declared public.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public bool IsPublic { get; }
Return Value
Type:
Booleantrue if the
Type is declared public and is not a nested type; otherwise, false.
See Also