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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
 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 ?    3 Yes 1 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 ?    2 Yes 0 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
 
Difference between asp and asp.net? Accenture1
Derive WSDL?  6
What is versioning in .NET? Syntax-Softtech1
if i have 1000 records and i want to access 20 ata time from SQL server, what will be the query? Mind-Tree4
what r the Templeats in ASP.net? Intel5
what is the difference b/w .net 1.1 and 2.0 ? Polaris1
how to update data using store procedure  1
What is viewstate? Microsoft3
Uses of CLR ? TCS2
About DataAdapters ? Accenture5
How can you provide an alternating color scheme in a Repeater control?  1
How many web.copnfig can exists in a web application & which will be used ? MMTS3
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?  1
What are the data types is possible to store in session? and can we store dataset in session? eMids3
write a sample code make use of xmltext writer GCI1
with which controls you worked in Asp.net 2.0? HP2
which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row Aviva2
Does the following statement executes successfully: Response.Write(?value of i = ? + i); TCS4
what is view state and its use DELL5
what is reference type to value type. AG-Technologies2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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