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

Which protocol is used to call web service?

0 Answers  


Is object a value type or referenced type?

2 Answers  


Define viewstate in .net?

0 Answers  


In a webpage if i want to give access to only half page ,then what should i do?

3 Answers  


can I use session variable in App_code Class page??

3 Answers   Wipro,


What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

0 Answers  


Where would you use an IHttpModule, and what are the limitations of anyapproach you might take in implementing one?

1 Answers   Siebel Systems,


Difference between Response.redirect vs server.transfer?

0 Answers  


Explain transparent caching with aop?

0 Answers  


Where is session cookies stored?

0 Answers  


What is application Object?

0 Answers   Infogain,


where is declare global variable in asp.net and what is use of global variable

3 Answers  


Categories