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 |
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
0 Answers InfoAxon Technologies,
Explain about Multi-Language integration?
What is a bubbled event?
What is the purpose of master page?
when user is logged on the information is saved in a cookie, what is the name of that cookie?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
under which namespaces connection strings can be defined?
How to write test case (Unit test plan)
Have you used microsoft dataaccess blocks and Exception blocks?
What are the advantages of using Master Pages?
What r the asp.net list controls and diff. Between them?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)