Quantcast
Channel: Equivalent C# Functions
Viewing all articles
Browse latest Browse all 4

Equivalent C# Functions

$
0
0

1.What is the equivalent settings for option strict on and option explicit on in c# ?

2.I have a class in another project ( VC++). I want to access the methods and properties in VC++ class from my project in C#. The VC++ is a standalone EXE project and hence I cant add any reference to my project. But in VB I found a method named GetObject( "AssemblyName") to retrieve the object in runtime. As VB.Net supports early binding by setting option explicit ON , the methods and properties of the VC++ class can be accessed by creating an instance of system.object. Can anyone please tell me how can we do the same in C#.net ?

3.Is there any C# equivalent function for "ON ERROR RESUME NEXT" in VB ? We can use Try catch but catch block will be excuted if any error occur in try block.

Thanks


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images