i have error: illegal start of expression
can you help me ??
public void AddBefor(int befor,int a)
{
if(head!=null)
{
if(head.value==befor)
{
IntDLLNode t=new IntDLLNode(a);
t.next=head;
head.preve=t;
t.preve=null;
head=t;
}
else
{
IntDLLNode t;
for(t=head;t!=null;&& t.value!=befor;t=t.next);
if(t!=null)
{
IntDLLNode t1=new IntDLLNode(a);
t1.next=t;
t1.preve=t.preve;
t.preve=t;
t.preve.next=t;
}
}
}
}