Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can i have both C# and vb.net code in same assembly?how?

Answers were Sorted based on User's Feedback



Can i have both C# and vb.net code in same assembly?how?..

Answer / ashok

yes

Is This Answer Correct ?    9 Yes 2 No

Can i have both C# and vb.net code in same assembly?how?..

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

Can i have both C# and vb.net code in same assembly?how?..

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

Can i have both C# and vb.net code in same assembly?how?..

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

Can i have both C# and vb.net code in same assembly?how?..

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

Post New Answer

More ASP.NET Interview Questions

Define authentication and authorization.

0 Answers  


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

0 Answers  


Explain the path instructions in xaml?

0 Answers  


What is the importence of the INTERFACE? but not the inheritence concept?and why we r declaring the empty methods in that? we can directly implements with in the class know? Tell me the importence?

2 Answers  


Explain exception filters?

0 Answers  


Life cycle of ASP.NET page when a request is made ?

4 Answers   MMTS,


Where the viewstate is stored after the page postback?

0 Answers  


What is .net framework and what are the main components of it?

0 Answers  


How do you perform validations ?

2 Answers   Microsoft,


About writting a query and SP which is better ?

5 Answers   Abacus, Satyam,


All kind of access specifiers for a class and for methods ?

1 Answers   MMTS,


which is the new version of IIS SERVER

1 Answers  


Categories