Get rid of the parens around the return type. Since there are parens, C# is trying to execute that statement first, but is throwing an exception, as what's in the parens is not an " assignment, call, increment, decrement, [or]new object expression".
Marked as answer bymotionpotionWednesday, May 30, 2012 12:48 PM
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.