I am working on windows form and using Thread safe concept to set the value of Main thread controls,here I have two delegates one is used with no argument and other is used to pass the argument but I found impossible to do this because it says
Form already contain definition for StringArgReturningVoidDelegate
Delegate declaration
delegate string StringArgReturningVoidDelegate();
delegate void StringArgReturningVoidDelegate(string text);