Can i have both C# and vb.net code in same assembly?how?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prashanthreddy
Create C# class file and vb class file separately. Compile
them separately as modules and then finally add them to your
assembly.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sanjeev
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 ? | 1 Yes | 0 No |
Answer / basavraj
Yes We can add same both code one Assembly .Bcoz Shared
Assembly is Same Application
Is This Answer Correct ? | 1 Yes | 0 No |
where can i gather the materials for MCP certification
Define view state.
public key?
when is the role performed by IIS sever when ever a request send from browser
What is enableviewstate in asp net?
What is strong name and which tool is used for this ?
What are the built-in objects in asp.net?
Difference between singleton and singlecall.
Should user input data validation occur server-side or client-side? Why?
3 Answers NIC, Siebel Systems,
What is web api vs wcf?
How use Xml data in ASP.net?
what is view state
5 Answers Microsoft, Siebel Systems,