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 are the options can be configured in AJAX helpers?

0 Answers  


What's different about namespace declaration when comparing that to package declaration in Java ?

1 Answers   Infogain,


What is .NET Framework?

4 Answers  


Can I set the unlimited length for "maxjsonlength" property in config?

0 Answers  


mention in what all scenarios entity framework can be applicable?

0 Answers   Microsoft,






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

2 Answers   IBM,


what are the different stepts to create shared assemblies?

1 Answers  


What is the use of razor view engine?

0 Answers  


What is the .net framework and how does it work?

0 Answers  


Does Tempdata hold the data for other request in ASP.Net MVC?

0 Answers  


Can I add mvc testcases in visual studio express?

0 Answers  


What are attributes

1 Answers  


Categories