How to create an alias name for a namespace?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is entity client data provider? : Entity framework

539


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

561


what is datacontrols?

3082


What is mapping in entity framework? : Entity framework

512


What is rxjava used for?

646






Explain RenderBody and RenderPage in ASP.Net MVC?

586


what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?

1684


mention in what all scenarios entity framework can be applicable?

960


What is Layout in ASP.Net MVC?

567


What is edm (entity data model)? : Entity framework

539


What are scaffold templates in mvc?

571


What is the difference between model view and controller?

472


Does windows 10 need .net framework?

524


What is the difference between viewbag and viewdata in asp.net mvc?

613


Explain the methods used to render the views in mvc?

541