Classes defined in c# in vb project

hi

can u define a class with C#.NET  language inside a VB.NET project and use it ?
Pure_HeartAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
DhaestConnect With a Mentor 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#.
0
 
nmarunConnect With a Mentor 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.
0
 
nmarunCommented:
Pure_Heart, did this work for you?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
DhaestCommented:
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) !!!
0
 
nmarunCommented:
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?
0
 
DhaestCommented:
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 :)
0
 
nmarunCommented:
Thanks.
0
All Courses

From novice to tech pro — start learning today.