We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d85e48b commit 0816438Copy full SHA for 0816438
2 files changed
source/code/projects/CList/CList/CList.cs
@@ -166,7 +166,7 @@ public void RemoveL()
166
{
167
Cell cCell = first;
168
while (
169
- cCell.Next != null && cCell.Next.Next != null
+ cCell.Next.Next != null
170
)
171
172
cCell = cCell.Next;
source/code/projects/CList/CList/Program.cs
@@ -152,5 +152,11 @@ static void Main(string[] args)
152
myList3.RemoveI(0);
153
Console.WriteLine("After removing element at index 0:");
154
Console.WriteLine(myList3);
155
- }
+ myList3.AddL(11.5);
156
+ myList3.AddF(-8.15);
157
+ Console.WriteLine(myList3);
158
+ myList3.RemoveL();
159
160
+
161
+ }
162
}
0 commit comments