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 is the difference between abstract class vs interface? Can give me the real time examples?

963


From which base class all web forms are inherited?

985


How to handle errors in Web API?

1187


Can a master page have more than one contentplaceholder?

968


Define the term Scavenging in Caching?

1040


What is the difference between Classic ASP and ASP.Net?

1106


Is asp.net is a programming language?

945


How you will manage the state of ASP.NET controls?

1065


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

1059


Any disadvantages in Dataset and in reflection ?

3259


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

1045


Is it true that a Web service must be written in .NET or not?

1097


How does the service stream content?

1032


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2808


Explain about solution explorer window?

1040