How to create an alias name for a namespace?

Answers were Sorted based on User's Feedback



How to create an alias name for a namespace?..

Answer / venky

To craate alias names for namespaces "using" keyword is used...
for example..
using System.out.println sys;
here we r allowed to use "sys" instead of writng all these "System.out.println " in code .

Is This Answer Correct ?    19 Yes 5 No

How to create an alias name for a namespace?..

Answer / govind

using aliasname = System.IO;

Is This Answer Correct ?    12 Yes 4 No

How to create an alias name for a namespace?..

Answer / sm

using 'using' keyword

Is This Answer Correct ?    4 Yes 0 No

How to create an alias name for a namespace?..

Answer / naren

using <aliasname>=<namespace>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What is viewstart page in mvc?

0 Answers  


Explain the methods used to render the views in ASP.Net MVC?

0 Answers  


What is the use of viewmodel in mvc?

0 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


How do assemblies find each other?

2 Answers  






Explain the .net framework.

0 Answers  


Name a few different return types of a controller action method?

0 Answers  


Which is the root namespace for fundamental types in .net framework?

0 Answers  


what is a mvc in asp.net?

3 Answers   Cap Gemini, Elsinoir Technologies, HCL,


what is the three pillar of .Net ?

11 Answers  


Diffence between .net framework 1.0 and 2.0?

2 Answers   DataPoint,


Which .net framework is installed?

0 Answers  


Categories