namespace

  • Thread starter Thread starter Carl Forsman
  • Start date Start date
C

Carl Forsman

Is namespace in C# is similiar to Java's package?

package myapp.client; --> Java
namespace myapp --> C#


namespace RFID_Tracer
{
partial class ControlPanelForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components =
null;
 
Carl Forsman said:
Is namespace in C# is similiar to Java's package?

package myapp.client; --> Java
namespace myapp --> C#


namespace RFID_Tracer
{
partial class ControlPanelForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components =
null;


Yes, similar, except that in Java, and in particular .jar files, there is a
directory structure that goes with the packages. In C# there is no
directory structure that is necessessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top