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
Define web.config in .net?
What is ashx file in asp.net?
Which is faster viewbag or viewdata?
Which data type does the rangevalidator control support?
What is web api vs wcf?
What is the use of data set in asp.net?
What is the difference between dynamic SGA and static SGA?
What are the 3 types of web?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is the difference between ASP Session State and ASP.Net Session State?
What is cookies in asp net?
Explain different types of validators in asp.net?
What is app_code folder in asp net?
What are cao and sao.
What are the ways to sending the data in ASP.NET page?