C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

How do I simulate optional parameters to COM calls?

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

You must use the Missing class and pass Missing.Value (in System.Reflection) for any values that have optional parameters.

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
How do you directly call a native function exported from a DLL? The C# keyword .int. maps to which .NET type?