How to use functions in VB.NET'S module

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I had a module of VB.NET.
Now I want to use some of the functions in the module when I develop a c#
project.
How can I do that?
 
As a module, you can't, but change it to a class with static methods and
you'll be able to call the methods in that assembly from your C# assembly.

Alternatively, you could convert the module to C# with our Instant C# VB to
C# converter (www.instantcsharp.com). A few pastes into our demo (which has a
100 line limit) may be all you need.

Regards,
David Anton
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter and the Instant VB C# to
VB.NET converter
 
Back
Top