Pergunta

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 ?

Foi útil?

Solução

Because this code is not compiled:

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top