in linked list if i pass object data then searching code does not work

后端 未结 0 1143
感情败类
感情败类 2020-11-27 23:55
 public bool Search (object x)
        {Node current = head;
            while(current !=null)
            {if (current.data==x){              
                    r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题