Top "Invocation" questions

How to do dynamic object creation and method invocation in .NET 3.5

How does the code looks that would create an object of class: string myClass = "MyClass"; Of the above type, and …

c# .net dynamic clr invocation
How do I find out if a particular delegate has already been assigned to an event?

I have a command button on a winform. So, if I have something like: myButton.Click += MyHandler1; myButton.Click += MyHandler2; …

c# winforms reflection delegates invocation
Java explicit constructor invocation & Instance Initializer

In The Java Tutorials - Initializing Fields, have a description about Instance Initialization Blocks(Instance Initializer): The Java compiler copies …

java constructor this super invocation
iPhone: Using dispatch_after to mimick NSTimer

Don't know a whole lot about blocks. How would you go about mimicking a repeating NSTimer with dispatch_after()? My …

objective-c nstimer objective-c-blocks grand-central-dispatch invocation
Which overload will get selected for null in Java?

If I write this line in Java: JOptionPane.showInputDialog(null, "Write something"); Which method will be called? showInputDialog(Component parent, …

java parameters methods invocation
Declaring variables in the arguments to a function in C

I have a sort of bizarre wish; I don't know if any compiler or language extension out there allows this. …

c function variables declaration invocation
call method at runtime

I am wondering if it is possible to load a .net DLL at runtime, view the methods available and execute …

c# runtime invocation