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

To bind columns manually which tags do you need to add within the asp:datagrid ?

0 Answers   Siebel,


Where you store Connection string in "Web.Config" file in ASP.NET?

0 Answers   Sans Pareil IT Services,


If you have to replicate a set of controls(UI) across a number of web pages, what will you do

1 Answers  


can any one tell about web services?

5 Answers  


What are the validation controls available in ASP.NET?

0 Answers  


What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

4 Answers  


How to implement Authentication and Authorization?

0 Answers   QuestPond,


What is WCF? Pls Explain clearly with exmple.

3 Answers   HCL, iGate,


About session modes

3 Answers   Wipro,


What are the HTML server controls in ASP.NET?

0 Answers   MindCracker,


What is the difference between trace and debug in asp.net?

0 Answers  


What does this do? sn -t foo.dll

3 Answers  


Categories