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 |
How can we Validate a Controls in ASP.NET page using JavaScript?
Difference between web user control and web custom control?
What is the syntax for datagrid and specifying columns ?
Does the following statement executes successfully: Response.Write(?value of i = ? + i);
What role “#&&” plays in a querysting?
How ASP.NET page works?
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?
What are the advantages of Web API?
How is a property designated as read-only?
Explain serialization and deserialization?
What is a global postback url?
How do I publish my asp.net application to my isp's web server?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)