Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
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

 
COPYRIGHT/DISCLAIMER | CONTACT US