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 the "helperpage.isajax" property?

0 Answers  


what is use of entitydatasource control?

0 Answers   Microsoft,


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


Integer & struct are value types or reference types in .NET?

3 Answers  


What happens when you encounter a continue statement inside the for loop ?

1 Answers  


What is entitycontainer? : Entity framework

0 Answers  


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

0 Answers   Accenture,


how to create session in .net

3 Answers  


how to maintain the session state? what is Abstract class and interface and inheritence with example?

2 Answers  


What are the advantages of razor view engine?

0 Answers  


Can I customise the serialization process

1 Answers  


Categories