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
How about the security in Activex DLL and Activex EXE ?
What is the default timeout for a cookie?
What is a form tag?
What is difference between View State and Hidden Field in ASP.NET?
Where sessions are stored in asp.net?
What is the use of session state and application state and difference between them?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
how to include timer or counting time to display next page in asp.net
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
How do session tokens work?
What is caching? What are different ways of caching in asp.net?
How many types of controls are there in asp.net?
What is sql data source control in asp.net?
How does windows service lifecycle differ from a .standard. Exe?