how i can add c# class file in VB.net Project

how i can add c# class file in VB.net Project

Page 1 of 1

4 Replies - 8951 Views - Last Post: 18 August 2010 - 07:36 PM Rate Topic: -----

#1 SoftwareEngineer   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 18-August 10

how i can add c# class file in VB.net Project

Posted 18 August 2010 - 07:25 AM

how i can add c# class file in VB.net Project?
Is This A Good Question/Topic? 0
  • +

Replies To: how i can add c# class file in VB.net Project

#2 Curtis Rutland   User is offline

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 5104
  • View blog
  • Posts: 9,283
  • Joined: 08-June 10

Re: how i can add c# class file in VB.net Project

Posted 18 August 2010 - 07:49 AM

As far as I know, you can't. Projects are either VB.NET or C#. You can use compiled assemblies written in either language, but you can't just mix and match the code.
Was This Post Helpful? 1
  • +
  • -

#3 demausdauth   User is offline

  • D.I.C Addict
  • member icon

Reputation: 190
  • View blog
  • Posts: 692
  • Joined: 03-February 10

Re: how i can add c# class file in VB.net Project

Posted 18 August 2010 - 10:40 AM

This is true for Windows apps, however Web apps allow multiple languages. Just a FYI. :)
Was This Post Helpful? 0
  • +
  • -

#4 Core   User is offline

  • using System.Linq;
  • member icon

Reputation: 783
  • View blog
  • Posts: 5,101
  • Joined: 08-December 08

Re: how i can add c# class file in VB.net Project

Posted 18 August 2010 - 05:14 PM

You can add a project that is using a different programming language to the existing solution and reference it in the base project. Then, you can work with classes from that specific project, being able to make an application written in several languages.
Was This Post Helpful? 0
  • +
  • -

#5 AdamSpeight2008   User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: how i can add c# class file in VB.net Project

Posted 18 August 2010 - 07:36 PM

You can also add the other language in to your solution provide you have a full version of Visual Studio.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1