المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CSharp *****alent functions



C# Programming
04-02-2009, 06:41 PM
1.What is the *****alent 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# *****alent 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.