using System.Collections.Generic;
using System.Collections;
public static void Main()
Console.WriteLine("Welcome");
var list1=new List<string>();
var list2=new List<string>(){"Apple","Ball"};
var hashset1=new HashSet<int>();
var hashset2=new HashSet<int>(){1,2,3,4,5};
HashSet_Operations(hashset1);
var sortedset1=new SortedSet<int>();
var sortedset2=new SortedSet<int>(){4,3,6,1,7,4};
SortedSet_Operations(sortedset1);
var stack1=new Stack<int>();
Stack_Operations(stack1);
var queue=new Queue<int>();
var ll=new LinkedList<int>();
LinkedList_Operations(ll);
public static void List_Operations(List<string> list)
public static void HashSet_Operations(HashSet<int> hashset)
foreach(var v in hashset)
public static void SortedSet_Operations(SortedSet<int> sortedset)
foreach(var v in sortedset)
public static void Stack_Operations(Stack<int> stack)
Console.WriteLine(stack.Peek());
public static void Queue_Operations(Queue<int> queue)
Console.WriteLine(queue.Peek());
public static void LinkedList_Operations(LinkedList<int> ll)