The following two illustrations illustrate the same project:
The accessibility of the class is two levels: public and internal;
Classes marked as pubic can be accessed by code in any assembly within the system. If a class is visible to other assemblies,
Use the public access modifier! A class marked internal can only be seen by classes in the assembly in which it resides (the assembly is neither
Program is not DDL). Internal class This is the default accessible level!
You create a new project that is an assembly. The following properties\assemblyinfo.cs is a file about your assembly information. A project may have many source files, often a class that occupies one or more files (although you can put several classes of code in a file, but not recommended). A solution may contain several projects. referencing an external assembly, you can either use the manual copy method or the add References in vs. Some external assemblies are added automatically when you create a new project.
Access modifiers for class