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 explicit loading?

0 Answers   Microsoft,


What is layout in mvc?

0 Answers  


What is viewbag title?

0 Answers  


How does .net framework works?

0 Answers  


How to Insert a TextBox value in to Sql database using C#.Net coding

2 Answers  






What is objectset? : Entity framework

0 Answers  


What is the advantage of mvc?

0 Answers  


How would you make a combo-box appear in one column of a DataGrid?

1 Answers  


How do you specify comments using razor syntax?

0 Answers  


How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?

0 Answers  


Is there built-in support for tracing/logging

1 Answers  


What are the 3 main components of an asp.net mvc application?

0 Answers  


Categories