It is a popular topic at C#/.NET job interviews or performance reviews. And while many show a general understanding, fewer can write some code examples with those in
and out
modifiers. In this post I'll try to give those examples that I believe help in understanding the concept of the topic.
I have once found that it may be quite surprising behavior of your program when using dynamic typing. Let's look at the following C# code that turns a string into a list of strings. No dynamic typing so far, all static:
More ...I was working with TIBCO Spotfire that has hosted IronPython scripting. And I had to process some JSON data, which is easy in Python by doing import json
. But that construct gives an import error in IronPython "No module named json".