C# COM interop and optional parameters
Since C# supports optional paramters it is much easier to work with COM objects. Sometimes you don’t want to set every parameter when you call a method from a COM object. Let’s take the “Office Word” object for this easy example. The following C# 3.5 code creates a Office Word object and opens the document… Read More »