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 the use of response redirect in asp.net?
What is loop in asp.net?
Explain repository pattern in asp.net mvc? : asp.net mvc
Can you change a Master Page dynamically at runtime?
What is autopostback true?
What are Session states available and its Uses?
Define resource files.
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
Where viewstate value is stored in asp.net?
What is the use of session state and application state and difference between them?
What is a gridview in asp.net?
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
How do u deploy your asp.net application?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
What is the question mark in a url?