문제

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 ?

도움이 되었습니까?

해결책

Because this code is not compiled:

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top