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

How do you declare static variable? What is its lifetime?

0 Answers  


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  


How does SQL Server session state works

1 Answers   Emphasis,


What is custom tag in Web.Config?

0 Answers   Accenture,


How can we Deploy a website?

2 Answers  


What are the layouts of ASP.NET Pages?

0 Answers  


How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?

1 Answers  


What is viewstate? In which event of the page life cycle, is the viewstate available?

0 Answers  


Can you explain the basic use of dataview?

0 Answers  


Explain how can we inherit a static variable?

0 Answers  


What is the lifespan for items stored in ViewState?

2 Answers   ISST,


What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

0 Answers  


Categories