We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Classes defined in c# in vb project

Pure_Heart
Pure_Heart asked
on
Medium Priority
228 Views
Last Modified: 2012-06-21
hi

can u define a class with C#.NET  language inside a VB.NET project and use it ?
Comment
Watch Question

Project manager
CERTIFIED EXPERT
Commented:
Yes, include the C# classes you want to use in class library project.
Reference this project in the VB project and you can use the classes written in C#.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2009
Commented:
No, not directly in the vb.net project, but as Dhaest says you can create a class library project to include your C# class.

BTW, http://www.developerfusion.com/tools/convert/csharp-to-vb/ is a decent online conversion tool.
Top Expert 2009

Commented:
Pure_Heart, did this work for you?
Dirk HaestProject manager
CERTIFIED EXPERT

Commented:
Why did you accept this comment ? I think that I gave the correct solution and that nmarun just asked the status of your question !
If you really want to award points to nmarun, I think you should accept my comment as an answer and accept the nmarun as assisted solution (with a fair split of the points) !!!
Top Expert 2009

Commented:
Dhaest makes total sense. Pure_Heart, think this way, the next time someone has the same issue and they look into this thread, they will not be sure of the solution to the problem.. and I'm very sure this thread will get looked into by many people.

Dhaest... or any moderator.. is there a way to override the users selection and re-assign the points doing a fair split?
Dirk HaestProject manager
CERTIFIED EXPERT

Commented:
I already posted a comment to the moderators to review this question with the remark to split the points. In a few hours there will be probably a comment from them :)
Top Expert 2009

Commented:
Thanks.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.