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 |
What is base class of .net?
I create small website, i want accept all the browser this website? what will do?
Explain significance of routing? : asp.net mvc
What is ashx file in asp.net?
can we call web service from the browser?
What is the default authentication mode for asp.net?
How to Convert a String into Float without using any built- in library of .NET String = "1235.45" needs to converted to a float
Define msil.
What are sessions in asp net?
What is an il?
What does WSDL stand for?
How to write unmanaged code and how to identify whether the code is managed /unmanaged?