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 is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
What is recordset asp?
What is asp net application object?
How would you enable impersonation in the web.config file?
How ASP.NET page works?
What is a user session?
What do you understand from custom control?
What does postback mean?
Why asp.net is used?
What kind of data we can store in viewstate?
Describe the application event handlers in ASP.NET?
What is base class of .net?
What is the difference between CLICK and MOUSE DOWN Event ?
What are directives in asp.net? List down all the important directives.
What is the difference between sealed vs static class?