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 can we Validate a Controls in ASP.NET page using JavaScript?

0 Answers   QuestPond,


Difference between web user control and web custom control?

0 Answers  


What is the syntax for datagrid and specifying columns ?

2 Answers   Microsoft,


Does the following statement executes successfully: Response.Write(?value of i = ? + i);

4 Answers   TCS,


What role “#&&” plays in a querysting?

0 Answers  


How ASP.NET page works?

0 Answers   MCN Solutions,


If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?

1 Answers  


What are the advantages of Web API?

0 Answers  


How is a property designated as read-only?

2 Answers  


Explain serialization and deserialization?

0 Answers  


What is a global postback url?

0 Answers  


How do I publish my asp.net application to my isp's web server?

0 Answers  


Categories