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
Can i have both C# and vb.net code in same assembly?how?
 Question Submitted By :: Priyarenjithgangan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can i have both C# and vb.net code in same assembly?how?
Answer
# 1
yes
 
Is This Answer Correct ?    7 Yes 2 No
Ashok
 
  Re: Can i have both C# and vb.net code in same assembly?how?
Answer
# 2
Yes you can add C# and VB.Net code in the same asssembly. 
For that add a new item to the project. 
Give the name of the file as Class1.vb if you want to add a 
vb code and Class1.cs if you want to add C# code. 

When you compile the project it will compile to a single 
assembly. 
The language does not matter in the end since everthing 
will be compile to MSIL.
 
Is This Answer Correct ?    6 Yes 2 No
Lily Antony
 
 
 
  Re: Can i have both C# and vb.net code in same assembly?how?
Answer
# 3
Yes, as Antony said, we can do the same but VB files will 
not be available in any C# application where we are using 
that class assembly.
 
Is This Answer Correct ?    0 Yes 0 No
Sanjeev
 
  Re: Can i have both C# and vb.net code in same assembly?how?
Answer
# 4
Yes We can add same both code one Assembly .Bcoz Shared 
Assembly is Same Application
 
Is This Answer Correct ?    0 Yes 0 No
Basavraj
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What are the Application_Start and Session_Start subroutines used for?  5
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?  1
Briefly describe different techniques for ASP.NET State Management? Syntax-Softtech2
What is stateless asp or asp.net ? Accenture2
what is differences between bind and eval?  1
What are the different types of Session state management options available with ASP.NET?  5
How to set/get parent page values in child page in asp.net Wipro3
What does assemblyinfo.cs file consist of? Accenture1
Which template must you provide, in order to display data in a Repeater control?  3
Explain the functionality of "EnableViewState" ? What happens if you want it on or off?  1
What is difference between machine.config and Web.Config? Accenture3
best .net institute in hyderabad  3
Describe the difference between inline and code behind.  2
Is object a value type or referenced type?  2
Can you store dataset in viewstate? Microsoft3
can sn.exe can be used before gacutil.exe Accenture2
In which form does the dataset store data in it? Verinon-Technology-Solutions3
When during the page processing cycle is ViewState available?  1
What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object Syntax-Softtech3
 
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