Any alternative to avoid name collisions other then Namespaces?
Answer Posted / 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 View All Answers
WSDL means?
What is the difference between system.stringbuilder and system.string
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
What is manifest in .net framework?
What is AutoPostback?
Explain the use of duration attribute of @outputcache page directive.
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
How to use a Master Database in Asp.net?
How do you secure your configuration files to be accessed remotely by unauthorized users?
What is inproc and outproc?
How to implement Authentication and Authorization?
Is it possible to write code in many languages in one asp.net project?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?