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 filters are executed in the end?

0 Answers  


Explain the advantages of dependency injection (di) in asp.net mvc?

0 Answers  


What is the meaning of unobtrusive javascript?

0 Answers  


What is display mode in mvc?

0 Answers  


what is split entity?

0 Answers   Microsoft,






When i am using Ajax controls (updatepanel),Is page events all are executed or only some events are executed?which page events are executed?

5 Answers   TCS,


What does assemblyinfo.cs file consists of ?

1 Answers   Accenture, BirlaSoft,


Which version of .net framework is installed?

0 Answers  


How we can call a javascript function on the change of a dropdown list in mvc?

0 Answers  


what do you mean by table-per-hierarchy?

0 Answers   Microsoft,


what is connection pooling

5 Answers  


I couldnot answer for projects bcz i have 2+ fake experience.can you please tell me how to answer..?

2 Answers   IBM,


Categories