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?

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


Please Help Members By Posting Answers For Below Questions

What are the advantages and limitations of query string?

999


What is manifest in .net framework?

980


Where is cookie used in asp.net?

1046


What is the advantage of mvc over asp.net? : Asp.Net MVC

937


What is asp.net localization?

941


Can I tap into other windows livetm services?

935


Define a multilingual website?

914


What is difference between session and cookie?

953


Write a code for sending an email from asp.net application.

985


What is asp.net ajax?

955


How can we update records in gridview?Is there any appropriate code for it?

2095


Explain the namespace classes used in asp.net mvc? : asp.net mvc

952


Explain login control and form authentication.

962


What are session state modes? List some of the important session state modes of asp.net.

896


How do you implement postback with a text box?

941