Search This Blog

13 April, 2011

namespace ...C# Example.

An Example of ~ namespace in C#.

namespace software
{
namespace accounts
{
class Customer
{
}
}
namespace inventory
{
class Item
{
}
class Customer
{
}
}
}
class psp
{
public static void Main()
{
software.accounts.Customer c;
c=new software.accounts.Customer();
}
}
---------------------------------------------------------------------------------

1 comment:

  1. This is a nice article..
    Its easy to understand ..
    And this article is using to learn something about it..

    c#, dot.net, php tutorial, Ms sql server

    Thanks a lot..!
    ri70

    ReplyDelete

Meetme@