Hi,
>> static DelegateType GetMethod(){
return new DelegateType(MethodBody);
}
Why use the syntax above to create the delegate instance instead of this:
DelegateType test = new DelegateType(MethodBody);
yes, you can use.GetMethod creates new DelegateType object and reurns the same.hope author of that article may want to show how to return delegate.as he creates and invokes delegate in static main method, he used static GetMethod method.you can make it in class and can invoke it as instatnt method.