C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is the syntax to declare a namespace in .NET?

0 votes
12 views
asked Feb 24, 2014 by sara Guru (24,570 points)

1 Answer

0 votes
In .NET, the namespace keyword is used to declare a namespace in the code.
 
The syntax for declaring a namespace in C# is:
namespace UserNameSpace;
 
The syntax for declaring a namespace in VB is:
Namespace UserNameSpace
 
answered Feb 24, 2014 by john Guru (27,140 points)

Related questions

0 votes
1 answer 10 views
10 views asked Feb 23, 2014 by sara Guru (24,570 points)
0 votes
1 answer 38 views
38 views asked Feb 23, 2014 by keem Expert (13,240 points)
0 votes
1 answer 29 views
0 votes
1 answer 20 views
20 views asked Feb 24, 2014 by john Guru (27,140 points)
0 votes
1 answer 26 views
26 views asked Feb 24, 2014 by keem Expert (13,240 points)
...