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

I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.

1 Answers  


Why does my asp.net file have multiple tag with runat=server?

0 Answers  


How to Insert/Add in ASPXgridview

0 Answers   Infosys,


Explain method to handle error using HttpError in Web API?

0 Answers  


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

0 Answers  


How do we make a poperty read only?

1 Answers   Microsoft,


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

5 Answers   Siebel Systems,


Features in ASP.NET?

2 Answers   Microsoft,


Difference between asp and asp.net?

4 Answers   Accenture,


What is a uri query?

0 Answers  


what is CTS?

3 Answers   PrimeLine,


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers  


Categories