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

Possible ways to prevent xss attacks on mvc application?

578


will there be any issues adding a table without primary keys to a data model?

611


What is presentation framework?

551


What is difference between Viewbag and Viewdata in ASP.NET MVC?

572


Explain tempdata in asp.net mvc?

606






Mention some action filters which are used regularly in ASP.Net MVC?

550


How can we determine action invoked from HTTP GET or HTTP POST?

572


How can I tell what .net framework is installed?

515


what is deferred loading(lazy loading)?

582


In Server how to check whether model has error or not in ASP.Net MVC

631


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

566


What is the advantage of using asp.net routing?

595


Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

529


What are authentication filters in web api?

581


Can you please explain the request flow in ASP.NET MVC framework?

626