View Single Post
Old 02-26-2014, 06:22 AM   #4
alligatortek001
Registered User
 
Join Date: Nov 2013
Posts: 92
Quote:
Originally Posted by sansoni1 View Post
Namespace is a Keyword used declare a Scope. If you do not declare a namespace, a default namespace will be created. this unnamed namespace some times called Global namespace, this will created every file.
Namespace is logical division of class, structure and interface OR way to organize your .NET code is through the use of namespaces
Namespaces are a way of grouping type names and reducing the chance of name collisions.
namespace ExampleNamespace
{
class TestExample
{
public void ShowMessage()
{
Console.WriteLine("This is the TestExample namespace!");
}
}
}
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
alligatortek001 is offline   Reply With Quote