开发者

Implementing of class with <T>

I want to implement like this:

namespace PIMP.Web.TestForum.Models
{
    public class ThreadModel : PagedList<T>
    {

but I am getting ErrorMessage:

The type or namespace na开发者_开发知识库me 'T' could not be found (are you missing a using directive or an assembly reference?)

What should I do to avoid it?


namespace PIMP.Web.TestForum.Models
{
    public class ThreadModel<T> : PagedList<T>
    {

or change T to an actual type.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜