DataStructuresCSharp/C#/Program.cs

21 lines
402 B
C#

using System;
using C_.Datastructures;
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
LinkedList<int> list = new LinkedList<int>();
list.Add(1);
list.Add(2);
list.Add(3);
LinkedList<int> list2 = new LinkedList<int>();
list2.Add(1);
list2.Add(2);
list2.Add(3);
LinkedList<int> list3 = LinkedList<int>.Create(list, list);
Console.ReadLine();