Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Any alternative to avoid name collisions other then Namespaces?



Any alternative to avoid name collisions other then Namespaces?..

Answer / p.ramakrishna

A scenario that two namespaces named N1 and N2 are there
both having the same class say A. now in another class i ve
written
using N1;using N2;
and i am instantiating class A in this class. Then how will
u avoid name collisions?
Ans: using alias
Eg: using MyAlias = MyCompany.Proj.Nested;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the state management in asp.net?

0 Answers  


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

0 Answers  


What are server activated objects?

0 Answers  


What is the use Membership in asp.net? and What is the use profiler in asp.net?

1 Answers  


Do gac'ed assemblies have fulltrust?

0 Answers  


What is hidden field in asp.net?

0 Answers  


Explain server-side scripting and client-side scripting.

0 Answers  


What's the use of formatters in .net?

0 Answers  


Why asp.net is better than php?

0 Answers  


What is the difference between the response.write() and response.output.write() methods?

0 Answers  


How to use push notification?

0 Answers   MCN Solutions,


Explain the overview of asp.net?

0 Answers  


Categories