Can i have both C# and vb.net code in same assembly?how?
Answer Posted / lily antony
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 ? | 10 Yes | 3 No |
Post New Answer View All Answers
What are the advantages and limitations of query string?
What is manifest in .net framework?
Where is cookie used in asp.net?
What is the advantage of mvc over asp.net? : Asp.Net MVC
What is asp.net localization?
Can I tap into other windows livetm services?
Define a multilingual website?
What is difference between session and cookie?
Write a code for sending an email from asp.net application.
What is asp.net ajax?
How can we update records in gridview?Is there any appropriate code for it?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
Explain login control and form authentication.
What are session state modes? List some of the important session state modes of asp.net.
How do you implement postback with a text box?