ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Any alternative to avoid name collisions other then Namespaces?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Any alternative to avoid name collisions other then Namespaces?
Answer
# 1
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
P.ramakrishna
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How do you validate the controls in an ASP .NET page?  2
How to Insert a TextBox value in to Sql database using C# coding? Sona6
What are the two properties that are common in every validation control?  4
You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data. Syntax-Softtech1
About Windows/Forms Authentication  1
How to do Caching in ASP?  1
how can i am search the data from database? just like google  2
What method must be overridden in a custom control? a) The Paint() method b) The Control_Build() method c) The Render() method d) The default constructor Syntax-Softtech1
What is the need of client side and server side validation ? Keane-India-Ltd1
Explain the life cycle of an ASP .NET page HCL2
Define ViewState and how can it be used?  3
is it possible to access website from a remote place, without deploying it on web server?  1
WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS. HCL9
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do? eMids5
What is the difference between a session object and cache object CitiGroup2
What r the page life cycle in asp.net page?  1
what is the auto option in XML ?  1
How to Deploy a project?  2
What is the syntax for datagrid and specifying columns ? Microsoft1
Types of authentications in ASP.NET ? Accenture5
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com