using System;
using System.Drawing;
using System.IO;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
InitializeComponent();
llname.AddLast("22");
llname = llname.Next;
错误1'System.Collections.Generic.LinkedList'不包含'Next'的定义,并且没有扩展方法'Next'可以找到接受类型'System.Collections.Generic.LinkedList'的第一个参数'(是你错过了using指令或程序集引用?)D:\ Documents and Settings \ Administrator \ Desktop \ SaveShared \ DigALL \ Form1.cs 38 29 MoodigX
答案 0 :(得分:1)
LinkedList<T>
没有下一个,但LinkedListNode<T>
没有。
LinkedListNode<string> node = llname.AddLast("22");
LinkedListNode<string> next = node.Next;