Could anyone please give me a short working example of a C# class which can be compiled to a DLL, and an example of VB.NET-code creating an object based on this class and using its members (methods). The C# class has to have a namespace, at least one class definition (obviously) and some methods or whatever they ought to be called. I have someone else’s code of a C#-DLL but cannot see its members in my VB-project. I know I have to make a reference to the DLL in my VB.NET project. I’m using VB.NET Express 2008 and C# 2008 Express.
Share
–foo.cs
–bar.vb
–batch file to compile
–run bar.exe