Source File Conventions (C# vs. Java)
Full Name:
Source File Conventions (C# vs. Java)
Short Name:
Source File Conventions (C# vs. Java)
Type of Entity:
C#
Abstract:
The naming convention for files containing C# classes is a little different from Java. In Java, all source files have a .java extension. Each source file contains one top-level public class declaration, and the class name must match the file name. In other words, a class called Customer declared with a public scope must be defined in a source file with the name Customer.java.
MSDN Source URL:
http://msdn2.microsoft.com/ms228500.aspx