#if NET20 || NET30 namespace System { /// Encapsulates a method that has no parameters and returns a value of the type specified by the parameter. /// The return value of the method that this delegate encapsulates. /// The type of the return value of the method that this delegate encapsulates. #if NETCF public delegate TResult Func(); #else public delegate TResult Func(); #endif } #endif