D
Denny
We have a web project that references a VB.net project. We need to call
module for our webpage. Does anyone know how to do this from c#?
module for our webpage. Does anyone know how to do this from c#?
We have a web project that references a VB.net project. We need to call
module for our webpage. Does anyone know how to do this from c#?
We have a web project that references a VB.net project. We need to call
module for our webpage. Does anyone know how to do this from c#?
VB Modules are translated into Namespaces in C#. For instance
Module sample
public function foo() as integer
end Module
From C#, call as
int i = sample.foo();
"sample" will be in pale blue as a NameSpace.
VB Modules are translated into Namespaces in C#. For instance
Module sample
public function foo() as integer
end Module
From C#, call as
int i = sample.foo();
"sample" will be in pale blue as a NameSpace.
A module in VB.NET is compiled into a *sealed* (not static because a static
class is an *abstract & sealed* class) class with static methods and no
constructors defined.
A module in VB.NET is compiled into a *sealed* (not static because a static
class is an *abstract & sealed* class) class with static methods and no
constructors defined.
sealed keyword states this:
It is an error to use a sealed class as a base class or to use the abstract
modifier with a sealed class.
sealed keyword states this:
It is an error to use a sealed class as a base class or to use the abstract
modifier with a sealed class.
module, but since the C# static class is coded as "abstract" in the IL, does
this mean you can inherit from a C# static class?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.