for delegate type
Func<string,string,string> MyFunc = (firstName,lastName) => string.Format("Given Name:{0} Surname:{1}", firstName, lastName);
How can you document the firstName and lastName parameters so that they appear in intellisense (e.g. method descriptions and parameters)?
Example:
/// <summary> /// My Method /// </summary> /// <param name="firstName">The first name.</param> /// <param name="lastName">The last name.</param> /// <returns></returns> public string MyMethod(string firstName, string lastName) { return string.Format("Given Name:{0} Surname:{1}",firstName,lastName); }
I want to hover over a delegate or pop up intellisense as I type in and tell me the delegate parameter descriptions, as it would with the above method.
comments c # delegates
Bless Yahu
source share