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

mention what is the key advantage of using entity framework or ef?

801


what do you mean by table-per-hierarchy?

860


How to change the action name in ASP.Net MVC?

821


What is layout in mvc?

799


what is scalar property?

848


How we can invoke child actions in ASP.Net MVC?

869


What are the sub types of ActionResult?

849


What are Action Filters in ASP.NET MVC and its use?

843


Why is entity framework used?

835


what is split entity?

837


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

2737


How to change the action name in mvc?

782


What are the possible razor view extensions?

806


What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?

796


what is entity graph in entity framework?

863