How do I delete all the nodes in my custom linked list?
<p>Is is possible for me to delete all nodes of my linkedlist to delete by my this code piece? If no then how is it possible to delete all the node at once! </p>

<p>my code is</p>

<pre><code>EditNode mynode=start;
while(mynode!=null){
    mynode.editnext=null;
    mynode=mynode.editnext;
}
</code></pre>

<p>Help needed! Thanks in advance...</p>
