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 name '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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With