Just curious ... Have you actually used any late binding or dynamic dispatch
at all in the last decade prior to C# 4 ???

Prior to C# 4, you had to use on of the scripting languages or VB.NET. The
dynamic language runtime helped static languages to some extent, but lacked
that integrated approach. With .NET 4, some of the DLR got integrated into
the framework (eg System.Core.Dynamic) and both VB and C# support
DynamicObject as well as the traditional late binding.
And yes, it is as it has been for the last decade, just declare the variable
As Object and turn Strict Off 

Oh, and yes VB has optional parameters too ;)



|-----Original Message-----
|From: [email protected] [mailto:ozdotnet-
|[email protected]] On Behalf Of Ian Thomas
|Sent: Tuesday, 4 October 2011 1:27 PM
|To: 'ozDotNet'
|Subject: RE: Dynamic
|
|>  VB has had a "sort-of" dynamic (via Options), but can this be done in
VB.NET
|for Framework 3.5 or 4.0 ? I don't think so -
|
|Well, I guess using object and Option Strict OFF it can be done - I will
have a try
|sometime.
|
|
|
|________________________________
|
|Ian Thomas
|Victoria Park, Western Australia


Reply via email to