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 do you declare static variable? What is its lifetime?
Explain the difference between asp.net mvc and asp.net webforms
How does SQL Server session state works
What is custom tag in Web.Config?
How can we Deploy a website?
What are the layouts of ASP.NET Pages?
How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?
What is viewstate? In which event of the page life cycle, is the viewstate available?
Can you explain the basic use of dataview?
Explain how can we inherit a static variable?
What is the lifespan for items stored in ViewState?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
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)