Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
find node in linked list
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { static void Main() { // // Create a new linked list. // LinkedList<string> linked = new LinkedList<string>(); // // First add three elements to the linked list. // linked.AddLast("A"); linked.AddLast("B"); linked.AddLast("C"); // // Insert a node before the second node (after the first node) // LinkedListNode<string> node = linked.Find("A"); linked.AddAfter(node, "inserted"); // // Loop through the linked list. // foreach (var value in linked) { Console.WriteLine(value); } } } }
run
|
edit
|
history
|
help
0
Md5 hash
2
Оператор switch
Multidimensional Arrays
test
ByRef
Intuit // C# // listing_4.1 (Console.WriteLine _ Форматный вывод)
Test equality
trees
codetility CyclicRotation