I write a HashTable with linked list.

This is code of node element

```
    class ListNode<T>
    {
        public T value{get; set;}
        public ListNode<T> next{get; set;}

        public void Insert(T newValue){
            value = newValue;
        }
    }

```

And this is Linkedlist implementetion

```
    class LinkedL<T> : IEnumerable<T>
    {
        ListNode<T> head;
        ListNode<T> tail;

        public void Add(T newVal){
            ListNode<T> node = new ListNode<T>();
            node.Insert(newVal);

            if (head == null)
                head = node;
            else
                tail.next = node;

            tail = node;
        }
     }

```

And finally my HashTable with a simple hash-func X % N

```
    class HashTable 
    {
        int N;
        public LinkedL<ListNode<int>>[] values; 

        public HashTable(int n){
            N = n;
            values = new LinkedL<ListNode<int>>[N];
         }

        public void Insert(int newValue){
            var mod = newValue % N;
            values[mod].Add(newValue);
        }       
    }

```

When i try to Insert(int) to a HashTable instance compiler throw a CS1503 error

`cannot convert from "int" to "this.ListNode<int>"` 

This is a little bit confusing.