Question

my delegate: I typed over the delegate in VS2010 the 3 slashes "///" and the typical automatic comment appears.

        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <typeparam name="?"></typeparam>
        /// <param name="param"></param>
        /// <returns></returns>
        private delegate IEnumerable<T> SearchInputText<T, string>(string param)

Why does it make the 2nd name = "?" ??? should it not be STRING ?

Was it helpful?

Solution

Because this code is not compiled:

error CS0081: Type parameter declaration must be an identifier not a type

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top