How to use C# Class Code into vb.net for ASP.net

  • Thread starter Thread starter Ather Ali Shaikh
  • Start date Start date
A

Ather Ali Shaikh

Hi All,

I have a class written in C# I am unable to convert it into vb.net class.
Can I use it as is in vb.net. I dont want to make any dll.

Reagrds
Ather Ali Shaikh
 
Currently you can use multiple languages within a solution, but only one
language per project.
Things should get even more flexible in .NET 2.0.
 
Hi Ather,

I wonder why don't you want to make any dll. Maybe you have your own reason?

The way to do it is just to compile your C# class into a DLL and
reference it in your VB.NET project.

Juliet Choy
MVP(ASP.NET)
Hong Kong
 
Back
Top