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 are the Core features of ASP.NET MVC?

826


How route table has been created in asp.net mvc?

753


What is the use of web api ? Why web api needed, if you have already restful services using wcf ?

762


Define the core components of an ASP.NET MVC application?

803


What is ViewStart Page in ASP.Net MVC?

772


what is complex type?

779


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

763


What are the new features 3.5 framework against with the tool?

764


Mention the core components of .net framework?

763


Explain the new features 3.5 framework against with the tool?

712


Difference between ASP.NET MVC and ASP.NET WebForms?

811


What are ajax helpers in asp.net mvc?

818


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2260


Possible ways to prevent xss attacks on mvc application?

765


Which are the important namespaces used in mvc?

922