GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 392 of 436    Print  
Explain the advantages and limitations of using Aliases in C#?

  
Total Answers and Comments: 1 Last Update: April 05, 2008     Asked by: sophiya_261978 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 05, 2008 04:12:25   #1  
Vikas Yadav Member Since: April 2008   Contribution: 15    

RE: Explain the advantages and limitations of using Aliases in C#?
Aliases can be useful in the case if you are using a lenthy namespace.You can create an aliase for namespace and can acess its classes via alias.

On the negative side it can cause some conflicts if you declare any class with same name in that scope.But finally it can be resolved through scope resolution operator.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    

 Related Questions

Presentation (UI), business (logic and underlying code) and data (from storage or other sources).  
Latest Answer : Ans:1.Presentation (UI), 2.business (logic and underlying code) and 3.data access layer(from storage or other sources). ...

SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access 
Latest Answer : Ans:Advantage:SQLServer.NET data provider is high-speed and robust.DisAdvantage.but requires SQL Server license purchased from Microsoft ...

Transaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions), Consistent (data is either committed or roll back, no “in-between” case where 
Latest Answer : Ans:ACID:ExpandingA:AtomicTransaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions)C:ConsistentConsistent (data is either committed or roll back, no “in-between” case where something has been updated ...

.NET FRAMEWORK1. What is .NET Framework?The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages 
Latest Answer : The .NET framework is a platform over which multiple languages are running.The 2 main components are 1. FRAMEWORK CLASS LIBRARY2. COMMON LANGUAGE RUNTIMEIt's features like CTS provide Cross Language Interoprabality.The CLR is the main Governing body ...
Read Answers (1) | Asked by : Prasanna Muthukrishnan

Latest Answer : Indexers  Indexers permit instances of a class or struct to be indexed in the same way as arrays. Indexers are similar to propeties except that their accessors take parameters.In the following example, a generic class is defined and provided ...

How can I set formatting defaults to a chart's series, before populating data to the chart. For example for each chart there must be a different color for each name series like that. Is there any method to store these defaults to the excel template, other than pragmatically. Please explain based on VSTO 2005.

Latest Answer : Aliases can be useful in the case if you are using a lenthy namespace.You can create an aliase for namespace and can acess its classes via alias.On the negative side it can cause some conflicts if you declare any class with same name in that scope.But ...

Assume you have large set of data, say more than 100,000 elements. Each data element has a unique string associated with it. 1. What data structure has the optimal algorithmic access time to any element 
Latest Answer : 1) Hashtable  2) 0(n-1)3) An arraylist which contains keys to a hashtable which contains the data this covers all requirements. ...

Explain about 'this' and where and when it should be used? 
Latest Answer : i. this keyword refer to current instance. ii.this keyword help to provide intellisense support during debugging. ...
Read Answers (2) | Asked by : smohan

Explain the Generations Algorithm used in the context of Garbage Collector 
Latest Answer : Garbage collection in .Net is an automated process. All objects are swept by the GC to check if they are still alive and are assigned a generation each sweep. The lower the generation the more frequently the objects are checked for example a gen 1 may ...
Read Answers (2) | Asked by : vshylaja


 Sponsored Links

 
Related Articles

What are the limitations with switch statement?

Switch statement is a powerful statement used to handle many alternatives and provides good presentation for C program. But there are some limitations with switch statement which are given below: Logical operators cannot be used with switch statement. For instance case k>=20: is not allowe
 

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Advantages of Using Oracle

Oracle has many advantages and features that makes it popular and thereby makes it as the largest enterprise software company. Oracle comes with new versions with new features implemented in new version while the features of earlier versions still being maintained. One important aspect is Oracle da
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

SOA Advantages

SOA Advantages Businesses in today’ s competitive environment are constantly faced with the challenge of having to provide more with fewer resources Businesses are constantly under pressure to deliver goods and services to the market at a faster cheaper rate and at higher quality than in
 

XML Advantages

XML Advantages There are many advantages to using XML for information exchange and they offer many benefits to the user The Extensive Markup Language uses human language which is conversable and not the language used by computers which is binary and ASCII coded XML is readable by even people who hav
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape