12-15-2011 01:23 AM
Hi Everyone!
First of all I'm sorry for almost hijacking someone else post, so I've started a new thread.
My question is the follwing. When do I have to use .Net Constructor node and when does not necessarry?
May I suppose that I have to use .Net Conts. Node when would use it normally in C# for example. And when creating a new .Net Object is not necessarry for example (MessageBox.Show()) - static call - the instantiation is not requied?
Summarize, if a C# code contains "new" I have to use .Net Constructor node.
Solved! Go to Solution.
12-15-2011 08:25 AM
You seem to have answered your own question. Yes, you have to use the constructor where you'd normally use "new". Static methods (and static properties) do not use constructors since these are "bound" to the class, and not the instance (i.e., object).
12-15-2011 12:34 PM
Thank you!