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...


How can i include both C# and vb.net classes in same
solution?

Answers were Sorted based on User's Feedback



How can i include both C# and vb.net classes in same solution?..

Answer / roopesh m.k

Step 1:
It is possible,In app-Code folder create sub folders
named VB,CS(as you like) and clreate .vb class files in the
folder named VB and .cs class files in the CS folder.
Step 2:
Go to web.config file and mention the following
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VB" />
<add directoryName="CS" />
</codeSubDirectories>
</compilation>

Is This Answer Correct ?    4 Yes 2 No

How can i include both C# and vb.net classes in same solution?..

Answer / romo

Its not possible to include both c# and vb.Net codes in
same solution. The reason is that the parser in .net only
knows one language at a time.

but its possible to refer a ddl assembly in c# which is
created by using vb.net

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Tell something about state management in asp.net?

3 Answers   Accenture,


What are uri parameters?

0 Answers  


In the context of a comparison, what is object identity versus object equivalence?

1 Answers  


What is difference between asp.net and asp?

0 Answers  


What is personalization? What are the properties available in personalization?

1 Answers  


Difference between .NET and previous version?

0 Answers   Microsoft, TIPL,


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  


Explain the difference between Repeater and Data list control in ASP.NET?

0 Answers  


How many types of cookies are available in asp?

0 Answers  


What are merge modules?

0 Answers  


How to use DevExpress controls

1 Answers  


What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?

3 Answers   TCS,


Categories