Class implementation with <T>

I want to implement the following:

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

but I get ErrorMessage:

Cannot find type name or namespace 'T' (are you missing the using directive or assembly references?)

What should I do to avoid this?

+5
source share
1 answer
namespace PIMP.Web.TestForum.Models
{
    public class ThreadModel<T> : PagedList<T>
    {

or change Tto the actual type.

+9
source

All Articles